2022-09-06 15:29:48 -04:00
|
|
|
const { MessageEmbed, MessageActionRow, MessageButton, Interaction } = require('discord.js');
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
2022-09-27 16:45:50 -04:00
|
|
|
name: 'repo',
|
|
|
|
|
description: 'See where Selmer bot\'s code is stored!',
|
|
|
|
|
execute(interaction, Discord, Client, bot) {
|
2022-09-06 15:29:48 -04:00
|
|
|
const embd = new MessageEmbed()
|
2022-10-06 12:41:15 -04:00
|
|
|
.setAuthor({ name: "Selmer Bot", url: bot.user.inviteLink, iconURL: bot.user.displayAvatarURL() })
|
2022-09-06 15:29:48 -04:00
|
|
|
.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')
|
|
|
|
|
.setDescription("Selmer Bot was created by ION606");
|
|
|
|
|
|
|
|
|
|
const row = new MessageActionRow()
|
|
|
|
|
.addComponents([
|
|
|
|
|
new MessageButton()
|
|
|
|
|
.setStyle("LINK")
|
|
|
|
|
.setURL("https://github.com/ION606/selmerBot")
|
|
|
|
|
.setLabel("Github Repo"),
|
|
|
|
|
|
|
|
|
|
new MessageButton()
|
|
|
|
|
.setStyle("LINK")
|
2022-12-26 14:40:50 -08:00
|
|
|
.setURL("https://selmerbot.com/")
|
2022-09-06 15:29:48 -04:00
|
|
|
.setLabel("Website"),
|
|
|
|
|
|
|
|
|
|
new MessageButton()
|
|
|
|
|
.setStyle("PRIMARY")
|
|
|
|
|
.setLabel("Tutorial")
|
|
|
|
|
.setCustomId("sbtutorial")
|
|
|
|
|
]);
|
|
|
|
|
|
2022-09-27 16:45:50 -04:00
|
|
|
interaction.reply({ embeds: [embd], components: [row] });
|
2022-10-06 12:41:15 -04:00
|
|
|
}, options: [],
|
|
|
|
|
isDm: true
|
2022-09-06 15:29:48 -04:00
|
|
|
}
|