Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/myrchuk21/ticket-support


https://github.com/myrchuk21/ticket-support

Last synced: 10 days ago
JSON representation

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 1

In order to run the bot we need!

### Install

```bash
# Download the source code to your computer

git 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

```
# Setup

Ur prefix /setup (qf!setup)

# Test online

Ur prefix /ping (qf!ping)
```

## Bot status

```
// Accepted activity types

ActivityType.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"
```