Skip to content

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
Fixed: Status can be "playing highmt", this is now fixed. you can also choose status now
  • Loading branch information
DJj123dj committed Nov 20, 2021
1 parent 001ae9f commit 1fb8ece
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`
Expand All @@ -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)
5 changes: 5 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 1fb8ece

Please sign in to comment.