diff --git a/README.md b/README.md index 131b0d1..466a8de 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ if there are any errors, you can open an issue on github. - `auth_token`=> the bot's token (Discord Developer Portal) - `botperms_role`=> the id from a role that can run admin commands with the bot. - `prefix`=> the bot's prefix. + - `ticket_system/ticket_channel` => the channel where you are gonna put the !ticket msg. - `ticket_system/ticket_category` => the category for tickets. - `ticket_system/member_role` => this role doesn't have access to tickets @@ -50,6 +51,9 @@ if there are any errors, you can open an issue on github. - `ticket_system/enable_transcripts` => enable transcripts. - `ticket_system/enable_category` => enable tickets in category. +- `status/type` => PLAYING | STREAMING | LISTENING | WATCHING | CUSTOM | COMPETING +- `status/text` => the status text + ### intents & permissions In the discord developer portal in the "bot" panel you will find 3 switches under the title "Gateaway Intents". The following switches should always be turned on - `SERVER MEMBERS INTENT` @@ -60,6 +64,6 @@ The bot needs `ADMINISTRATOR` permissions to work the best. ## credits the package contains a license, there are also credits in the bot. It is forbidden to extract these licenses and credits from it! -_v1.1.1_ +_v1.1.2_ © 2021 - DJdj Development | [website](https://www.dj-dj.be) | [discord](https://discord.com/invite/26vT9wt3n3) \ No newline at end of file diff --git a/config.json b/config.json index 4eaa4a9..aeb1467 100644 --- a/config.json +++ b/config.json @@ -6,6 +6,11 @@ "auth_token":"the bot's auth token", "botperms_role":"the id from a role that can do anything with the bot", "prefix":"!", + + "status":{ + "type":"PLAYING | STREAMING | LISTENING | WATCHING | CUSTOM | COMPETING", + "text":"!ticket" + }, "ticket_system":{ "ticket_channel":"id of the channel with the !ticket msg", diff --git a/index.js b/index.js index a563907..b05d85c 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ exports.client = client client.on('ready',() => { console.log('ready') - client.user.setActivity("HighMT",{type:"PLAYING"}) + client.user.setActivity(config.status.text,{type:config.status.type}) }) var storage = require('./storage/storage')