mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-14 21:26: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,9 +1,9 @@
|
||||
const { MessageEmbed, MessageActionRow, MessageButton, Interaction } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'code',
|
||||
description: 'See where Selmer bot\'s code is stored! (you can also use _!repo_)',
|
||||
execute(message, args, Discord, Client, bot) {
|
||||
name: 'repo',
|
||||
description: 'See where Selmer bot\'s code is stored!',
|
||||
execute(interaction, Discord, Client, bot) {
|
||||
const embd = new MessageEmbed()
|
||||
.setAuthor({ name: "Selmer Bot", url: bot.inviteLink, iconURL: bot.user.displayAvatarURL() })
|
||||
.setThumbnail("https://github.com/ION606/selmer-bot-website/blob/main/assets/Selmer-icon.png?raw=true") // .setThumbnail('https://repository-images.githubusercontent.com/460670550/43932b23-d795-4334-838f-f33ee8f795c4')
|
||||
@@ -27,6 +27,6 @@ module.exports = {
|
||||
.setCustomId("sbtutorial")
|
||||
]);
|
||||
|
||||
message.reply({ embeds: [embd], components: [row] })
|
||||
}
|
||||
interaction.reply({ embeds: [embd], components: [row] });
|
||||
}, options: []
|
||||
}
|
||||
Reference in New Issue
Block a user