CLICK HERE FOR TUTORIAL VIDEO Slot Bot is a Discord bot designed to streamline slot management in your server. It allows users to create slots for various purposes, such as selling items or offering services. The bot includes features like creating, renewing, holding, and unholding slots, as well as adding and removing users from slots.
[!note] The Discord bot needs to have admin permissions and be positioned at the top of the role hierarchy, above the
buyers
in order to create a slot
To use the bot, follow these steps:
Create a Slot: Use the ,create
command to create a new slot. Example: ,create @user 1 d category1 4 Slot
.
Add Users: Use the ,add
command to add users to a slot. Example: ,add @user
.
Renew a Slot: Use the ,renew
command to renew a slot with updated duration. Example: ,renew @user #channel 1 m/d his Slot
.
Hold a Slot: Use the ,hold
command to temporarily hold a slot.
Unhold a Slot: Use the ,unhold
command to unhold a slot.
Remove Users: Use the ,remove
command to remove users from a slot. Example: ,remove @user
.
Ping Notification: Use the ,ping
command to receive a notification in the slot channel. You can use ,ping everyone
or ,ping @here
to mention everyone or here respectively. Example: ,ping
.
Nuke Command: Use the ,nuke
command to delete all messages in the slot channel if you have owner permissions. Example: ,nuke
.
To install the bot, follow these steps:
git clone https://github.com/codewithriza/SlotBot.git
pip install -r requirements.txt
config.json
file with your bot token, category ID, staff ID, etc. Make sure to keep your bot token private and secure.main.py
python3 main.py
[!IMPORTANT] Ensure that your bot token is kept private and setup in config.json along with category id staff id etc create separate category for 1 and 2 and read through the code to understand
Contributions are welcome! If you have any ideas or improvements, feel free to open an issue or submit a pull request.
If you find this project useful, please consider giving it a star on GitHub! 🌟