(!! End of Life !!) FoxCodeBot | Discord [Tickets, ReactionRoles, WelcomeMessages, Suggestions, ...] icon

(!! End of Life !!) FoxCodeBot | Discord [Tickets, ReactionRoles, WelcomeMessages, Suggestions, ...] -----

Modular Discord bot written in Python, self-hosted solution



You can test the bot on our discord server: discord.fox-code.eu

Wiki, with instructions and detailed setup tutorial: https://wiki.foxcodebot.fox-code.eu/

Description

FoxCodeBot is a simple Discord bot written in Python, that makes it possible to create a unique experience for your users. You can customize everything.
The bot is self-hosted, meaning you have to have your own server the bot can run on.

The bot concept enables you to download and enable only modules, that you need. Simply download the module below, place it into /modules directory and you are good to go.

Requirements
Since this is self-hosted bot, you should have your own machine the bot can run on. I would recommend some basic cheap VPS, but it's up to you.
  • Machine for the bot (1 vCPU, 256MB RAM, Python 3)
  • MySQL database

Installation
  • Install following libraries:
    Code (Text):
    pip install -U discord.py mysql-connector-python pyyaml
  • Unzip the files
  • In config.yml insert bot token of your bot application (https://discord.com/developers/)
  • Create MySQL database and set up connection details in config.yml
  • Download modules you want to use, drop them unzipped into the /modules directory. Set up every module in it's config file
  • Run main.py (If you are on Linux, you can use for example pm2 to keep your bot online 24/7)
More detailed tutorial can be found here: Installation tutorial

M O D U L E S
The bot can manage tickets on your discord server.
Features:
  • Creates a private channel for user and admins only
  • Manage maximum amount of tickets user can have
  • You can create multiple ticket categories
  • Tickets managed using user-friendly environment -> embeds with buttons
  • Limit categories by user role
  • Ping admin role on ticket creation / user response
  • Simple .html transcript when the ticket is closed
Setup:
  • Drop unzipped files into /modules
  • Install following libraries:
    Code (Text):
    pip install chat-exporter
  • Edit ticketsConfig.yml
  • Set up a ticket creation embed using -ticketsgen
Download
This module allows you to customize join message, automatically send embed with info to the user.
Features:
  • Send private message to new user
  • Send a custom embed to defined channel in your server
  • Customize the embed that is sent
Setup:
  • Drop unzipped files into /modules
  • Edit welcomeMessagesConfig.yml to your liking
  • Restart the bot
Download
Enables you to create embed selectors, where users can give themselves a role by reacting to the selector.
Features:
  • Create multiple selectors for multiple roles
  • Manage embed text and color
  • Add and remove roles from players
Setup:
  • Drop unzipped files into /modules
  • Edit reactionRolesConfig.yml to your liking
  • Restart the bot
  • Create selector in yor Discord server using -reactionroles <selector-name>
Download
Allows you to manage bot's private messages and send private messages via bot.
Features:
  • Show recieved private messages
  • Send private messages to selected user
  • Send private message to all users
Setup:
  • Drop unzipped files into /modules
  • Edit directMessagesConfig.yml
  • Restart the bot
How to use:
  • You can send message to a specific user using -send <user> <message> ... for example -send Kesims#0001 Hello Kesims!
  • You can send message to all users on the server using -sendall <message> ... for example -sendall Hello everyone!

Download
Allows to show the current ETH gas prices.
Features:
  • Show current gas prices in simple embed
Setup:
  • Install new python package using
    Code (Text):
    pip install requests
  • Drop unzipped files into /modules
  • Edit gasTrackerConfig.yml
  • Get Etherscan API key and set it up in config
  • Restart the bot
How to use:
  • Use -gas to show the embed

Download
Allows to create a suggestion channel that turns every message into suggestion embed.
Features:
  • Create suggestion channel
  • Accept/Deny suggestions
  • Define your own suggestion embed format
Setup:
  • Drop unzipped files into /modules
  • Edit suggestionsModuleConfig.yml
  • Restart the bot
How to use:
  • Send a message in the channel, it will be turned to a new suggestion
  • React with accept/deny to accept/deny the suggestion

Download
Rotates the bot's status between multiple custom messages
Features:
  • Define your own custom messages
  • Choose change interval
Setup:
  • Drop unzipped files into /modules
  • Edit statusChangerConfig.yml
  • Restart the bot

Download
Adds possibility to host giveaways!
Features:
  • Create giveaways using modals
  • Select end date, number of winners
  • Finish giveaways early
Setup:
  • Drop unzipped files into /modules
  • Edit giveawaysModuleConfig.yml
  • Restart the bot
Usage
  • Create new giveaway using /giveaway
  • End the giveaway earlier using /gfinish <message_id>
  • Cancel the giveaway simply by removing the giveaway message
WARNING: This module only uses slash commands, there is no way to create modals using simple prefixed commands.
Download

Showcase:
upload_2022-1-2_14-16-8.png
upload_2022-1-10_11-58-35.png
upload_2022-1-28_11-8-55.png
upload_2022-4-19_21-29-14.png
[​IMG]


Please, note that the bot is still in heavy development, there are many modules to come and the bot can contain numerous bugs! Use with caution. Please, report bugs on our support discord server.
Resource Information
Author:
----------
Total Downloads: 1,743
First Release: Jan 3, 2022
Last Update: Nov 26, 2022
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings