remove constants directory
This commit is contained in:
parent
c297e45a64
commit
4d8eecff04
19 changed files with 74 additions and 79 deletions
|
@ -1,10 +1,12 @@
|
|||
const activities = require('../../assets/activities.json');
|
||||
|
||||
module.exports = class {
|
||||
constructor (wsEvent) {
|
||||
this.wsEvent = wsEvent;
|
||||
}
|
||||
|
||||
async run (client) {
|
||||
const activity = client.constants.activities.random();
|
||||
const activity = activities.random();
|
||||
client.editStatus('online', { name: `${activity.message} | v${client.version}`, type: activity.type});
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue