Opasium AI was specifically designed for the Opasium Games discord only. It is a bot that covers the basic functions of any other bot.

Overview

OpasiumAI

Opasium AI was specifically designed for the Opasium Games discord only. It is a bot that covers the basic functions of any other bot.

Installing

  • Clone the repository:
git clone https://github.com/DanixGuy/OpasiumAI
cd OpasiumAI
  • Create virtual environment (optional):
python3 -m venv env
env\Scripts\activate
  • Install requirements
pip install -r requirements.txt

Configuration

import os

# Discord bot's token
# Don't share the token with anyone else!

# By default, this will get the token from environment variables but you can specify your token:
# DISCORD_TOKEN = "your token goes here"
DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")

# PostgreSQL connection string
# This bot uses PostgreSQL database to store all giveaways

# Example of PostgreSQL connection:
# POSTGRESQL_CONNECTION_STRING = "postgres://host/dbname?user=username&password=password"

# host - ip address of database
# dbname - name of database to connect to
# username - user's name
# password - user's password

# Don't share the password with anyone else!
POSTGRESQL_CONNECTION_STRING = os.getenv("POSTGRESQL_CONNECTION_STRING")

# Giveaway's reward max length
GIVEAWAY_MAX_REWARD_STRING_LENGTH = 32

# Giveaway check interval
# Every GIVEAWAY_CHECK_INTERVAL seconds all giveaways will be checked if they should end or not
GIVEAWAY_CHECK_INTERVAL = 10

# Bot's status
# Will be displayed as: "Playing /help | Opasium Games"
BOT_STATUS = "/help | Opasium Games"

Prefix

The bot's prefix is /

Commands

Moderation

  • kick (user) (reason) - Kick someone (requires Kick Members permission)
  • ban (user) (reason) - Ban someone (requires Ban Members permission)
  • nick (user) (new nickname) - Change someone's nickname (requires Manage Nicknames permission)
  • say (text) - Say something via the bot
  • purge (limit [optional]) - Delete messages in bulk (requires Manage Messages permission)
  • poll (description) - Make a poll
  • gstart (reward) (time) (winners) - Create a giveaway (requires Manage Messages permission)
  • gend (message id of the giveaway) - End a giveaway (requires Manage Messages permission)

Fun

  • dogpic - Random dog picture
  • flipcoin - Flip a coin
  • dice - Throw a dice
  • avatar (user [optional]) - Get your own or someone else's avatar

Other

  • members - Check how many members there are in current server
  • userinfo (user) - Gather some info about someone
  • ping - Check the bot's ping
Owner
Dan
coding
Dan
SmartFile API Client (Python).

A SmartFile Open Source project. Read more about how SmartFile uses and contributes to Open Source software. Summary This library includes two API cli

SmartFile 19 Jan 11, 2022
Mass Instagram Checker

Mass Instagram Checker

X - MrG3P5 5 Nov 09, 2022
KalmanFilterExercise - A Kalman Filter is a algorithmic filter that is used to estimate the state of an unknown variable

Kalman Filter Exercise What are Kalman Filters? A Kalman Filter is a algorithmic

4 Feb 26, 2022
Code for generating Tiktok X-Gorgon, X-Khronos and etc. parameters

TikTok-Algorithm I found this python file from a source which was later deleted. Although the test api functions no longer seem to work, surprisingly

0 Dec 09, 2021
Support for Competitive Coding badges to add in Github readme or portfolio websites.

Support for Competitive Coding badges to add in Github readme or portfolio websites.

Akshat Aggarwal 2 Feb 14, 2022
A Serverless Application Model stack that persists the $XRP price to the XRPL every minute as a TrustLine. There are no servers, it is effectively a "smart contract" in Python for the XRPL.

xrpl-price-persist-oracle-sam This is a XRPL Oracle that publishes external data into the XRPL. This Oracle was inspired by XRPL-Labs/XRPL-Persist-Pri

Joseph Chiocchi 11 Dec 17, 2022
WatonAPI is an API used to connect to spigot servers with the WatonPlugin to communicate.

WatonAPI is an API used to connect to spigot servers with the WatonPlugin to communicate. You can send messages to the server and read messages, making it useful for cross-chat programs.

Waton 1 Nov 22, 2021
Clubhouse API written in Python. Standalone client included. For reference and education purposes only.

clubhouse-py is originally developed for the sake of interoperability. Standalone client is also created with very basic features, including but not limited to the audio-chat

1.7k Jan 05, 2023
PyMusic Player is a music player written in python3.

PyMusic Player is a music player written in python3. It harvests r

PythonSerious 2 Jan 30, 2022
Fastest Tiktok Username checker on site.

Tiktok Username Checker Fastest Tiktok Username checker on site

sql 3 Jun 19, 2021
Inline Телеграм бот для отправки GIF-изображений из ВКонтакте

VK GIFS Bot VKGIFSBot - удобный бот для отправки GIF-изображений из ВКонтакте в Телеграмe. Работает это очень просто: бот получает токен ВКонтакте API

Sergievsky Nikita 5 Dec 10, 2022
Python client for using Prefect Cloud with Saturn Cloud

prefect-saturn prefect-saturn is a Python package that makes it easy to run Prefect Cloud flows on a Dask cluster with Saturn Cloud. For a detailed tu

Saturn Cloud 15 Dec 07, 2022
A multi-platform HTTP(S) Reverse Shell Server and Client in Python 3

Phantom - A multi-platform HTTP(S) Reverse Shell Server and Client Phantom is a multi-platform HTTP(S) Reverse Shell server and client in Python 3. Bi

85 Nov 18, 2022
An Anime Themed Fast And Safe Group Managing Bot.

Ξ L I N Λ 👸 A Powerful, Smart And Simple Group Manager bot Avaiilable a latest version as Ξ L I N Λ 👸 on Telegram Self-hosting (For Devs) vps # Inst

7 Nov 12, 2022
TG-Url-Uploader-Bot - Telegram RoBot to Upload Links

MW-URL-Uploader Bot Telegram RoBot to Upload Links. Features: 👉 Only Auth Users

Aadhi 3 Jun 27, 2022
Automatically check for free Anmeldung appointments.

Berlin Anmeldung Appointments (Python) This Python script will automatically check for free Anmeldung appointments in Berlin, and find them for you. T

Martín Aberastegue 6 May 19, 2022
4 Oct 28, 2021
Python Capfire API wrapper

General CampfireAPI based on Campfire web. Install pip install Campfire-API Quickstart Use it without login: from campfire_api import CampfireAPI cf

Ghost 0 Jan 03, 2022
Sends notifications when Pokemon Center products are in stock

Sends notifications when Pokemon Center products are in stock! If you use this for scalping, I will break your kneecaps

2 Jan 20, 2022
SpaceManJax's open-source Discord Bot. Now on Github!

SpaceManBot This is SpaceManJax's open-source Discord.py Bot. Now on Github! This bot runs on Repl.it, which is a free online code editor. It can do a

Jack 1 Nov 16, 2021