43 lines
1.0 KiB
JavaScript
43 lines
1.0 KiB
JavaScript
const { Command } = require('../../../../interfaces/');
|
|
|
|
class MusicTasteCommand extends Command {
|
|
|
|
constructor(client) {
|
|
|
|
super(client, {
|
|
name: 'musictaste',
|
|
aliases: ['music-taste'],
|
|
module: 'miscellaneous',
|
|
archivable: false,
|
|
disabled: true
|
|
});
|
|
|
|
this.client = client;
|
|
|
|
//dont touch this is my idea >:( -nolan
|
|
|
|
}
|
|
|
|
async execute(message, { params, args }) { //eslint-disable-line
|
|
|
|
/*
|
|
|
|
const activities = [];
|
|
for(const user of this.client.users.cache.values()) {
|
|
for(const activity of user.presence.activities) {
|
|
if(activity.name === 'Spotify' && activity.type === 'LISTENING') activities.push({
|
|
song: activity.details,
|
|
artist: activity.state,
|
|
album: activity.assets.largeText
|
|
});
|
|
}
|
|
}
|
|
console.log(activities);
|
|
*/
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
module.exports = MusicTasteCommand; |