Version 0.1.0 - Mise en place de Discord.js
This commit is contained in:
14
backend/src/discord/Commands/Web.js
Normal file
14
backend/src/discord/Commands/Web.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const { Command } = require('../Command');
|
||||
const { Embed } = require('../Embed');
|
||||
|
||||
const command = new Command("web", "Affiche le lien vers le site web pour contrôler le bot", (client, interaction) => {
|
||||
const embed = new Embed()
|
||||
embed.setColor(0xffffff)
|
||||
embed.setTitle('Subsonics - Chopin')
|
||||
embed.addBotPicture(client)
|
||||
embed.addField('Lien',"https://subsonics.raphix.fr/")
|
||||
embed.send(interaction)
|
||||
|
||||
})
|
||||
|
||||
module.exports = {command}
|
Reference in New Issue
Block a user