Moderation, ticketing, games, social notifications & more
Automated Anti-Raid & Anti-scam functions
- Ticket system
- Youtube notification (using YouTubes RSS feed)
-
Download the Bot Package
Download the
.tarpackage of the bot from the releases page or import it in to the server. -
Upload the Package to Velvox Gamehosting
- Buy your bot (Discord bot.py) and use "Python Generic"
- Then go to the gamepanel and go to "your server" > files and drop the .tar file in to the
/home/container/directory, and extract it. - Create a database in the "Database" tab and write the login information down.
-
Configure the Bot
- Open the
bot.pyand edit the thedef get_mysql_connectionand put the correct login data in to the file.# MySQL Database Configuration MYSQL_HOST = "yourdatabasehost" # MySQL database host IP MYSQL_USER = "yourdatabaseuser" # MySQL user MYSQL_PASSWORD = "yourdatabasepassword" # MySQL password MYSQL_DATABASE = "yourdatabasename" # MySQL database name
- Then scroll down to the last line of code to the
bot.run()statement. and add your bot token you can get this at the Discord Developer Portal.# Run the bot with your token bot.run()
- Make sure that the MySQL database has the necessary tabels, by default the bot generates them automaticly but it could error.
CREATE TABLE IF NOT EXISTS channel_settings ( id INT AUTO_INCREMENT PRIMARY KEY, discord_channel_id BIGINT NOT NULL, youtube_channel_id VARCHAR(100) NOT NULL, last_announced_video_id VARCHAR(100) DEFAULT NULL );
- Open the
-
Install Required Packages
- By default the panel should install the default and neccasary packages. If you get any errors contact thier support.
-
Run the Bot
- If you configured your bot the right way when you click "Start" in the gamepanel it should start and you can start using your bot!
- Ensure it has the right permissions set in the Discord Developer Portal.
- Go ahead to the commands section. And you can setup your bot inside your discord server.
Any explanation for this will come in the future.
All the commands work with Discord Slashcommands
The commands supported by this bot are now.
- Ticket commands
-
Important!
/setupticketdatabaseThis writes the needed database tables in the database defined in theconfig.py./ticketsetcatogoryThis sets the category the tickets will "spawn" in./setticketroleThis sets the role that will have access to the ticket's (Could error, it is better to fix this in the category permissions). -
Standard commands
-
/adduser To add a user to a ticket.
/removeuser To remove the user from a ticket.
/ticketlaunch Puts a embed with ticket creation buttons.
-
Youtube notifications
- Important!
/youtubesetupThis will setup the channel that needs to be watched- Standard commands
/newestvideo To display the newest video of the channel configured in /youtubesetup
/reset Removes the actively watched youtube channel
More functions will be added in the future!
This project is based on the follwing bots, and used and or modified code associated with them.
This bot is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.