mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-15 05:36:54 +00:00
Transitioned all Misc, audio, Selmer Specific, admin, anime/manga, and inventory commands to Slash Command format. The RSS and reactionrole commands are still broken and all game commands are still in message format due to compications
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
name: 'extracredit',
|
||||
description: "Selmer Bot Dm's you for some *AHEM* extra credit",
|
||||
execute(message, args, Discord, Client, bot) {
|
||||
execute(interaction, Discord, Client, bot) {
|
||||
let dm;
|
||||
let num = Math.floor(Math.random() * 10);
|
||||
|
||||
@@ -41,7 +41,10 @@ module.exports = {
|
||||
break;
|
||||
}
|
||||
|
||||
let ID = message.member.id;
|
||||
message.client.users.fetch(ID).then(user => user.send(dm));
|
||||
}
|
||||
// let ID = interaction.user.id;
|
||||
// message.client.users.fetch(ID).then(user => user.send(dm));
|
||||
interaction.user.send(dm);
|
||||
interaction.reply({content: "Extra Credit sent 😉", ephemeral: true});
|
||||
},
|
||||
options: []
|
||||
}
|
||||
Reference in New Issue
Block a user