A versatile Discord bot packed with gambling, economy, fun, emotes, and utility features.
- Economy bot, supports features such as balance, send, daily, topranks etc
- Utilites features such as botinfo, userinfo, serverinfo, etc
- Actions and emote gifs
- SQL and Redis Integrated
- Highly customizable
- Do not support every event logs and analytics
- Do not support buy/sell feature
Note that this is high-level overview, there are more features and information, please use !help
or /help
for more information about respective commands.
$ git clone https://github.com/oxy-Op/oxemble-bot.git
$ cd oxemble-bot
$ pip install -r requirements.txt
$ python main.py
To configure your bot, follow these steps:
Before you start configuring your bot, make sure you have the following:
- Discord Bot Token
- Giphy API Key
- MySQL Workbench
- Redis Server
Edit the config.json
file with the following details:
{
"prefix": "!",
"owner_id": 123,
"giphy_api_key": "Your_Giphy_API_Key",
"activity": [
"Prefix: ! | Listening !help",
"https://github.com/oxy-Op",
"One xemble a day keeps sadness away"
],
"token": "Your_Bot_Token",
"balance": "your balance is ",
"emoji": [
"<:coin1:1115740536981164053>",
"<:coin2:1115740556094603314>"
],
"database": {
"host": "localhost",
"port": 3304,
"user": "root",
"pass": "Your_DB_Password",
"database": "oxemble"
},
"redis": {
"host": "localhost",
"port": 6379,
"pass": "Your_Redis_Password"
}
}
To obtain a Discord bot token, follow these steps:
- Visit the Discord Developer Portal.
- Create a new application.
- Navigate to the "Bot" section and click "Add Bot."
- Under the "Token" section, click "Copy" to copy your bot token.
- Paste the bot token into the
token
field in yourconfig.json
file.
If you're using a MySQL database, create a database named "oxemble" (default) and fill in the database
section in your config.json
with your database host, port, user, and password.
If you're using Redis for caching or other purposes, provide your Redis host, port, and password in the redis
section in your config.json
.
Save your config.json
file with the updated settings.
Now that your bot is configured, you can run it with the specified settings.
You should get "ready as bot name" in your console. Now go to the discord and type /help
for slash commands help or !help
for general commands