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
Opencontactbook - Bulk-manage large numbers of vCard contacts with built-in geolocation

Open Contact Book Open Contact Book is a buiness-oriented, cross-platform, Pytho

Aurélien PIERRE 2 Aug 08, 2022
Eclipse-grabber - Generate Discord Token Grabbers for both Windows and MacOS

Eclipse Grabber Eclipse Discord Token Grabber What is Eclipse? Eclipse is an ope

Dimitris Kalopisis 117 Dec 23, 2022
A Powerful telegram giveawayz bot based on the python-telegram-bot API

GiveawayZ Bot A Powerful telegram giveawayz bot based on the python-telegram-bot API. Powered by Team Zyntax and Team DFX Developed by @Zycho-Dev A pr

Zycho #AFK 5 Jul 31, 2022
DB-Drive-CSV - This is app is can be used to access CSV file as JSON from Google Drive.

DB Drive CSV This is app is can be used to access CSV file as JSON from Google Drive. How To Use Create file/ upload file to Google Drive There's 2 fi

Hartawan Bahari M. 5 Oct 20, 2022
This asynchronous telegram bot sells books.

Selling_Books_Bot Description Say, you have a bunch of items you need no more and you want to sell it all out. That's where you're going to have to us

Roman 1 Oct 24, 2021
Transcript-Extractor-Bot - Yet another Telegram Voice Recognition bot but using vosk and supports 20+ languages

transcript extractor Yet another Telegram Voice Recognition bot but using vosk a

6 Oct 21, 2022
Telegram Link Wayback Bot. This bot archives a web page thrown at itself with wayback Machine (Archive.org).

Telegram Link Wayback Bot. This bot archives a web page thrown at itself with wayback Machine (Archive.org).

Hüzünlü Artemis [HuzunluArtemis] 11 Feb 18, 2022
LHXP・Official "LH - Cyber Security" Discord Leveling-Bot

LHXP・Official "LH - Cyber Security" Discord Leveling-Bot Based on nsde/NOVΛLIX Feature Overview /clear @user Requires admin permission Purges all XP

Felix・onlix 2 Mar 09, 2022
Thread-safe Python RabbitMQ Client & Management library

AMQPStorm Thread-safe Python RabbitMQ Client & Management library. Introduction AMQPStorm is a library designed to be consistent, stable and thread-sa

Erik Olof Gunnar Andersson 167 Nov 20, 2022
Projeto Informações Conta do Instagram - Instagram Account Information Project

VESTA-tools A collection of simple tools that proved to be needed for handling large periodic calculations with the VASP software package. distTotCalc

Thiago Souza 1 Dec 02, 2021
Fast IP address lookup

ipscoop Fast IP Scoop Table of Contents Installation CLI Getting Started Ref Installation To install ipscoop, simply: $ python3 -m pip install -U git+

6 Mar 16, 2022
SMAM2 is a package manager built specifically for SourceMod.

SourceMod Addon Manager 2 (SMAM2) SMAM2 is a package manager built specifically for SourceMod. This was heavily inspired by Phil25's SMAM. I thought t

John Mascagni 6 Sep 16, 2022
A python package to fetch results of various national examinations done in Tanzania.

Necta-API Get a formated data of examination results scrapped from necta results website. Note this is not an official NECTA API and is still in devel

vincent laizer 16 Dec 23, 2022
A multipurpose Telegram Bot written in Python for mirroring files on the Internet to Google Drive

Mirror Leech Bot Mirror Leech Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive. Ba

1 Jan 01, 2022
This is simply code for bitcoin fair value.

About The Project This is a code for bitcoin fair value, its simply exclude bubble data using RANSAC method, and then plot the results. Check youtube

BitcoinRaven 4 Mar 26, 2022
API de mi aplicación de Biblioteca

BOOKSTORE API Instalación/Configuración Previo Es una buena idea crear un entorno virtual antes de instalar las dependencias. Puedes hacerlo con el si

Gabriel Morales 1 Jan 09, 2022
Api REST para gerenciamento de cashback.

Documentação API para gerenciamento de cashback - MaisTODOS Features Em construção... Tecnologias utilizadas Back end Python 3.8.10 Django REST Framew

Alinne Grazielle 2 Jan 22, 2022
Dashbot is an application for showing the trade in U.S. Trade Market

Dashbot is an application for showing the trade in U.S. Trade Market (e.g., 4:00am to 8:00pm Eastern Time for the US market using Intraday data using Mercury..

Ahmed Nabil 2 Jan 27, 2022
Ghost-toolbox - Ghost's official Discord raid tool

Ghost Toolbox Ghost's official Discord raid tool. How to use Clone this repo int

G H Ø S T 10 Oct 31, 2022
A python bot that stops muck chains

muck-chains-stopper-bot a bot that stops muck chains this is the source code of u/DaniDevChainBreaker (the main r/DaniDev muck chains breaker) guys th

24 Jan 04, 2023