Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myrchuk21/ticket-support
https://github.com/myrchuk21/ticket-support
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/myrchuk21/ticket-support
- Owner: Myrchuk21
- Created: 2024-05-27T07:20:54.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-28T09:13:29.000Z (6 months ago)
- Last Synced: 2024-11-07T01:35:11.575Z (about 2 months ago)
- Language: JavaScript
- Size: 1.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ticket-support by Discord
## Install engine
- [Node](https://nodejs.org/en/)
- [NPM](https://www.npmjs.com/)
- [JS 13+](https://www.javascript.com/)
## Step 1In order to run the bot we need!
### Install
```bash
# Download the source code to your computergit clone https://github.com/Myrchuk21/Ticket-Support
# Go to the folder
cd Tciket-Support/
# Intall modules
npm install or npm i
```## Step 2
**Don't forget the token:** After creating the bot, enable `applications.commands` then enable `OAuth2` go to [developer portal](https://discord.com/developers/applications/).
## Step 3
go to config.js and configuriren ur prefix
```
# SetupUr prefix /setup (qf!setup)
# Test online
Ur prefix /ping (qf!ping)
```## Bot status
```
// Accepted activity typesActivityType.Playing
ActivityType.Listening
ActivityType.Watching
ActivityType.Competing
ActivityType.Streaming // Lets you use url parameter. This can be a YouTube or Twitch link.
ActivityType.Custom // Unsupported in discord.js. Will be added at some point.// Accepted statusses
"online"
"offline"
"idle"
"dnd"
```