2020-11-10 03:31:49 +00:00
|
|
|
const activities = require('../../assets/activities.json');
|
|
|
|
|
2020-10-21 00:39:16 +00:00
|
|
|
module.exports = class {
|
2020-10-20 10:23:07 +00:00
|
|
|
constructor (wsEvent) {
|
|
|
|
this.wsEvent = wsEvent;
|
2020-10-20 08:30:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
async run (client) {
|
2020-11-10 03:31:49 +00:00
|
|
|
const activity = activities.random();
|
2020-10-21 07:57:26 +00:00
|
|
|
client.editStatus('online', { name: `${activity.message} | v${client.version}`, type: activity.type});
|
2020-10-20 08:30:46 +00:00
|
|
|
}
|
2020-10-21 00:39:16 +00:00
|
|
|
};
|