-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
86 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,89 @@ | ||
import { ICommand } from 'wokcommands' | ||
import { MessageEmbed } from "discord.js"; | ||
import { ICommand } from "wokcommands"; | ||
|
||
export default { | ||
callback: ({ instance }) => { | ||
instance.commandHandler.commands.forEach((command) => { | ||
console.log(command) | ||
}) | ||
}, | ||
category: 'Help', | ||
description: 'Répertorie toutes les commandes', | ||
|
||
slash: true, | ||
|
||
callback: ({ interaction }) => { | ||
try { | ||
const embed = new MessageEmbed() | ||
.setTitle("Annuaire des commandes") | ||
.setColor('PURPLE') | ||
.addFields([ | ||
{ | ||
name: '🎵/buzzer', | ||
value: 'Emet le son de Question Pour un Champion' | ||
}, | ||
{ | ||
name: '🎵/circus', | ||
value: "Quand dans le vocal c'est le cirque, autant y mettre de l'ambiance" | ||
}, | ||
{ | ||
name: '🎵/dog', | ||
value: 'Aboie' | ||
}, | ||
{ | ||
name: '🎵/prout', | ||
value: 'Ce bot flatule en echo' | ||
}, | ||
{ | ||
name: '🎵/siuu', | ||
value: 'Cri du goat' | ||
}, | ||
{ | ||
name: '🎵/gmk', | ||
value: 'Il envoie sa voiture en enfer' | ||
}, | ||
{ | ||
name: '🎵/olala', | ||
value: 'Il a rien apporté' | ||
}, | ||
{ | ||
name: '🎵/dehors', | ||
value: 'DEHOOOOORS' | ||
}, | ||
{ | ||
name: '🎵/lait', | ||
value: 'Il est lent ce lait' | ||
}, | ||
{ | ||
name: '🎵/uwu', | ||
value: 'UwU' | ||
}, | ||
{ | ||
name: '🎵/bander', | ||
value: 'Ça me fait bander' | ||
}, | ||
{ | ||
name: '🚨 /dealabs subscribe <channel-text>', | ||
value: 'Souscription à une alerte Dealabs' | ||
}, | ||
{ | ||
name: '🚨 /dealabs unsubscribe', | ||
value: "Désinscription à l'alerte Dealabs" | ||
} | ||
]) | ||
.setThumbnail("https://c.tenor.com/Air2y_Be114AAAAC/haku-chihiro.gif") | ||
.setURL("https://github.com/Zakichanu/HakuDiscordBot") | ||
|
||
|
||
if ((interaction.guildId === '776066783622201344') || (interaction.guildId === '932674235388817408')) { | ||
embed.addField('[PRIVE]🎵/sami', 'Sami qui pète') | ||
embed.addField('[PRIVE]🎵/wallah', 'WAllah de Sami') | ||
embed.addField('[PRIVE]🎵/bag', 'Bag qui rage (saturation au max)') | ||
embed.addField('[PRIVE]🎵/sexe', "DEMANDE MOI CE QUE J'AIME") | ||
embed.addField('[PRIVE]🎵/bellebite', "SORS LE MIELZER") | ||
} | ||
|
||
return embed | ||
} catch (error) { | ||
throw error; | ||
} | ||
|
||
} | ||
|
||
|
||
} as ICommand |