Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.16 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.16 KB

A Discord Bot that creates an individual ticket when a button is pressed (similar to TicketTool bot)

image

Description

When a special button sent with a message is pressed, an individual ticket is created.

Usage

/ping - command to check if the bot is working

/embed - sends a message with a button that creates a ticket when pressed

Configuration

The bot is configured in the config.json file.

  • token - Discord Bot Token
  • prefix - bot prefix
  • ticket_category_name - name of the category where tickets will be stored
  • ticket_channel_name - name of the ticket (formatted as {name}-{user_id} - e.g., ABCD-1234)
  • moderator_role_id - ID of the moderator role for access to tickets

Installation and Launch

Installation

git clone https://github.com/Bebrowskiy/Ticket-Bot.git

Dependencies

cd Ticket-Bot/
pip install -r requirements.txt

Launch

cd Bot/
python bot.py

My VK Page