Fixed: Status can be "playing highmt", this is now fixed. you can also choose status now
This commit is contained in:
DJj123dj
2021-11-20 13:32:50 +01:00
parent 001ae9f86a
commit 1fb8ece6ff
3 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -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) - `auth_token`=> the bot's token (Discord Developer Portal)
- `botperms_role`=> the id from a role that can run admin commands with the bot. - `botperms_role`=> the id from a role that can run admin commands with the bot.
- `prefix`=> the bot's prefix. - `prefix`=> the bot's prefix.
- `ticket_system/ticket_channel` => the channel where you are gonna put the !ticket msg. - `ticket_system/ticket_channel` => the channel where you are gonna put the !ticket msg.
- `ticket_system/ticket_category` => the category for tickets. - `ticket_system/ticket_category` => the category for tickets.
- `ticket_system/member_role` => this role doesn't have access to 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_transcripts` => enable transcripts.
- `ticket_system/enable_category` => enable tickets in category. - `ticket_system/enable_category` => enable tickets in category.
- `status/type` => PLAYING | STREAMING | LISTENING | WATCHING | CUSTOM | COMPETING
- `status/text` => the status text
### intents & permissions ### 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 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` - `SERVER MEMBERS INTENT`
@@ -60,6 +64,6 @@ The bot needs `ADMINISTRATOR` permissions to work the best.
## credits ## credits
the package contains a license, there are also credits in the bot. It is forbidden to extract these licenses and credits from it! 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) © 2021 - DJdj Development | [website](https://www.dj-dj.be) | [discord](https://discord.com/invite/26vT9wt3n3)
+5
View File
@@ -6,6 +6,11 @@
"auth_token":"the bot's auth token", "auth_token":"the bot's auth token",
"botperms_role":"the id from a role that can do anything with the bot", "botperms_role":"the id from a role that can do anything with the bot",
"prefix":"!", "prefix":"!",
"status":{
"type":"PLAYING | STREAMING | LISTENING | WATCHING | CUSTOM | COMPETING",
"text":"!ticket"
},
"ticket_system":{ "ticket_system":{
"ticket_channel":"id of the channel with the !ticket msg", "ticket_channel":"id of the channel with the !ticket msg",
+1 -1
View File
@@ -6,7 +6,7 @@ exports.client = client
client.on('ready',() => { client.on('ready',() => {
console.log('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') var storage = require('./storage/storage')