Random modmail bot i decided to make
npm i discord.js
npm i fs
- Open cmd at file location and type the following
npm i discord.js
npm i fs
- Install nodemon if you want
- Edit
index.js
and where it clearly says get your own token, put your token... lol - Go to
Client.js
and edit the two strings that have random numbers. Changethis.role
to the support role id and thethis.category
to the category you want the tickets to be in. - Make a channel on discord called
modmail
, this will be where the transcript will be posted and where the modmails will be logged. - type in console
node .
or if you installednodemon
, typenpx nodemon