Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Setup the bot

Felipe Giraldo edited this page Jun 21, 2022 · 5 revisions

Change prefix

tb! is the default prefix, if you want to change it just change what is inside the quotation marks ' '

bot = ComponentsBot('tb!', help_command=None)

Go to code

Setting parameters

The bot will need a category where it will create the tickets channels, a channel where it will put the ticket logs and the role of those who attend the tickets, commonly the staff role and finally a hexadecimal color that will carry all the embeds sent by the bot, by default it is yellow.

id_category =
id_channel_ticket_logs =
id_staff_role =
embed_color = 0xfcd005 

Go to code

Copy the bot token from the Discord developer portal and paste it inside the quotation marks ' '

bot.run(' ')

Go to code