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
You might also like...
Discord-Token-Formatter - A simple script to convert discord tokens from email token to token only format

Discord-Token-Formatter A simple script to convert discord tokens from email:pas

A Python wrapper for discord slash-commands, designed to extend discord.py.

dislash.py An extending library for discord.py that allows to build awesome slash-commands. ⭐

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

A solution designed to extract, transform and load Chicago crime data from an RDS instance to other services in AWS.

This project is intended to implement a solution designed to extract, transform and load Chicago crime data from an RDS instance to other services in AWS.

A simple, fast, and awesome discord nuke bot! The only thing you need to add is your bot token.

SimpleNukeBot A simple, fast, and awesome discord nuke bot! The only thing you need to add is your bot token. Instructions: All you need to do is crea

Satoshi is a discord bot template in python using discord.py that allow you to track some live crypto prices with your own discord bot.

Satoshi ~ DiscordCryptoBot Satoshi is a simple python discord bot using discord.py that allow you to track your favorites cryptos prices with your own

A Discord bot to play bluffing games like Dobbins or Bobbins

Usage: pip install -r requirements.txt python3 bot.py DISCORD_BOT_TOKEN Gameplay: All commands are case-insensitive, with trailing punctuation and spa

Acid's Utilities is a bot for my Discord server that alerts when I go live, welcomes new users, has some awesome games and so much more!

Acid's Utilities Acid's Utilities is a bot for my Discord server that alerts when I go live, welcomes new users, has some awesome games and so much mo

Exchange indicators & Basic functions for Binance API.
Exchange indicators & Basic functions for Binance API.

binance-ema Exchange indicators & Basic functions for Binance API. This python library has been written to calculate SMA, EMA, MACD etc. functions wit

Owner
Dan
coding
Dan
This is a straightforward python implementation to specifically grab basic infos about IPO companies in China from Sina Stock website.

SinaStockBasicInfoCollect This is a straightforward python implementation to specifically grab basic infos about IPO companies in China from Sina Stoc

CrosSea 1 Dec 9, 2021
SmsSender v3.0.0 - the script is designed to send free SMS to any number and with any text.

SmsSender v3.0.0 - скрипт предназначен для бесплатной отправки SMS на любой номер и с любым текстом. Возможны небольшие баги, в скором времени исправл

Андрей Сергеев 20 Dec 3, 2021
DeKrypt 24 Sep 21, 2022
An Open-Source Discord bot created to provide basic functionality which should be in every discord guild. We use this same bot with additional configurations for our guilds.

A Discord bot completely written to be taken from the source and built according to your own custom needs. This bot supports some core features and is

Tesseract Coding 14 Jan 11, 2022
Parse discord tokens from any file, even if there is other shit in the file with them.

Discord-Token-Parser Parse discord tokens from any file, even if there is other shit in the file with them. Any. File. I glued together all html from

null 4 May 7, 2022
SquireBot is a Discord bot designed to run and manage tournaments entirely within a Discord.

Overview SquireBot is a Discord bot designed to run and manage tournaments entirely within a Discord. The current intended usecase is Magic: the Gathe

null 7 Nov 29, 2022
Discord-selfbot - Very basic discord self bot

discord-selfbot Very basic discord self bot still being actively developed requi

nana 4 Apr 7, 2022
A collection of scripts to steal BTC from Lightning Network enabled custodial services. Only for educational purpose! Share your findings only when design flaws are fixed.

Lightning Network Fee Siphoning Attack LN-fee-siphoning is a collection of scripts to subtract BTC from Lightning Network enabled custodial services b

Reckless_Satoshi 14 Oct 15, 2022
A collection of scripts to steal BTC from Lightning Network enabled custodial services. Only for educational purpose! Share your findings only when design flaws are fixed.

Lightning Network Fee Siphoning Attack LN-fee-siphoning is a collection of scripts to subtract BTC from Lightning Network enabled custodial services b

Reckless_Satoshi 14 Oct 15, 2022
Source Code for our bot that manages time and other functions of the server <3

Komi San wants you to study This repo contains the source code for our bot that manages time and other functions of the server <3 Features Your study

Komi San wants you to study 8 Nov 8, 2021