Perm levels fixed, guild create/delete
This commit is contained in:
parent
a82c054ce3
commit
4b66acc01d
11 changed files with 49 additions and 12 deletions
|
@ -1,3 +1,15 @@
|
|||
module.exports = (client) => {
|
||||
const activities = client.commands.keyArray()
|
||||
let activity = activities.random()
|
||||
|
||||
client.user.setActivity(`${client.config.defaultGuildSettings.prefix + activity} | v${client.version.number}`, { type: 'PLAYING' })
|
||||
|
||||
setInterval(() => {
|
||||
activity = activities.random()
|
||||
if (client.lockActivity === false) {
|
||||
client.user.setActivity(`${client.config.defaultGuildSettings.prefix + activity} | v${client.version.number}`, { type: 'PLAYING' })
|
||||
};
|
||||
}, 30000)
|
||||
|
||||
client.logger.ready('Connected to Discord as ' + client.user.tag)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue