Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bebrowskiy/ticket-bot
A discord bot that create a tickets
https://github.com/bebrowskiy/ticket-bot
Last synced: about 1 month ago
JSON representation
A discord bot that create a tickets
- Host: GitHub
- URL: https://github.com/bebrowskiy/ticket-bot
- Owner: Bebrowskiy
- License: mit
- Created: 2024-06-01T07:47:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T10:33:02.000Z (7 months ago)
- Last Synced: 2024-06-03T12:41:58.392Z (7 months ago)
- Language: Python
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A Discord Bot that creates an individual ticket when a button is pressed (similar to TicketTool bot)
## 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](https://discord.com/developers/applications/)
- `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
```bash
git clone https://github.com/Bebrowskiy/Ticket-Bot.git
```### Dependencies
```bash
cd Ticket-Bot/
```
```bash
pip install -r requirements.txt
```### Launch
```bash
cd Bot/
```
```bash
python bot.py
```