Skip to content

Open tickets for your server using a discord.js and mongodb and you can customizable all settings for your tickets . discord server: https://discord.gg/rr-dev [idk if its still working or not]

Notifications You must be signed in to change notification settings

alimawla69/Discord-Tickets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open tickets in website for discord server ScreenShot

Installation

  1. Run this command in the command line
$ git clone https://github.com/Luffy909/Discord-Tickets.git
  1. Now you'r done

How to run ?

  1. go to command line/terminal and run
$ cd Discord-Tickets
  1. then you have to install required packges by using this command bellow
$ npm i
  1. now you need to add file named .env and type the required items bellow
PORT=8080// You'r port
BOT_TOKEN="" //You'r bot TOKEN
CLIENT_ID="" //You'r bot ID
CLIENT_SECRET=""//You'r bot Client secret
CALLBACK_URI="http://localhost:8080/api/callback" //You'r callbackURL
DATABASE_URI="" //You'r mongodbURL
PREFIX=""//You'r bot prefix
GUILDID=""//You'r serverid

example

PORT=8080
BOT_TOKEN="ODQ0OTE0MDQ4MjA5NTE4NjEy.YKZVhg.vWvp6CMAYrwmx4Sfc1P44RstNUTHwgSA"
CLIENT_ID="487312058174662500"
CLIENT_SECRET="kMZmV_kLMqs6yjxvmk8goefTsCr7DEF6"
CALLBACK_URI="http://localhost:8080/api/callback"
DOMAIN="http://localhost:8080/"
DATABASE_URI="mongodb+srv://USER:PASS@CLUSTER_NAME.mongodb.net/DATABASE?retryWrites=true&w=majority"
PREFIX="!"
GUILDID="688077913463324683"

A. you can get BOT_TOKEN & CLIENT_SECRET & CLIENT_ID in https://discord.com/developers/applications

  1. now you need to add callback to you'r discord bot
  1. now you need to add your MongoDB url:

    1. Go to MongoDB Cloud and create a account
    2. Create Cluster and make your free database and get the link e.g mongodb+srv://USER:PASS@CLUSTER_NAME.mongodb.net/DATABASE?retryWrites=true&w=majority
    3. go to .env file and paste the url in DATABASE_URI
  2. now you are done just run the app using

$ npm run dev

and WebChat will be running at localhost:8080

  1. you can also host it to public by running
$ npm run start

Problems, Bugs and Suggestions

in case you saw any Problems, Bugs and Suggestions you can tell me in the issues OR Discord Server

and i will fix and your suggetions and tell you in news channel in Discord Server

Ali Mawla (https://discord.gg/rr-dev) All rights reserved.

About

Open tickets for your server using a discord.js and mongodb and you can customizable all settings for your tickets . discord server: https://discord.gg/rr-dev [idk if its still working or not]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published