Reformatted stuff, added data to imports
This commit is contained in:
parent
95d84cfaef
commit
b2531d49b0
10 changed files with 184 additions and 60 deletions
|
@ -2,12 +2,12 @@ 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' })
|
||||
client.user.setActivity(`${client.config.defaultPrefix + 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' })
|
||||
client.user.setActivity(`${client.config.defaultPrefix + activity} | v${client.version.number}`, { type: 'PLAYING' })
|
||||
};
|
||||
}, 30000)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue