mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-03 23:36:35 +02:00
add perfect help commande
This commit is contained in:
@@ -3,6 +3,7 @@ const { PermissionsBitField } = require('discord.js');
|
||||
module.exports = {
|
||||
name: 'invite',
|
||||
description: 'Crée un lien d\'invitation pour un serveur spécifique',
|
||||
category: 'botcontrol',
|
||||
async execute(message, args, client) {
|
||||
// Vérifie si l'ID du serveur a été fourni
|
||||
if (!args[0]) {
|
||||
|
||||
@@ -3,6 +3,7 @@ const { ActivityType } = require("discord.js");
|
||||
module.exports = {
|
||||
name: 'listen',
|
||||
description: 'Changer le status du bot en listen',
|
||||
category: 'botcontrol',
|
||||
async execute(message, args, client) {
|
||||
const streamText = args.join(' ') || 'Streaming';
|
||||
const streamURL = 'https://www.twitch.tv/valou336_yt';
|
||||
|
||||
@@ -3,6 +3,7 @@ const { ActivityType } = require("discord.js");
|
||||
module.exports = {
|
||||
name: 'play',
|
||||
description: 'Changer le status du bot en play',
|
||||
category: 'botcontrol',
|
||||
async execute(message, args, client) {
|
||||
const streamText = args.join(' ') || 'Streaming';
|
||||
const streamURL = 'https://www.twitch.tv/valou336_yt';
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
module.exports = {
|
||||
name: 'say',
|
||||
description: 'Fait dire quelque chose au bot',
|
||||
category: 'botcontrol',
|
||||
async execute(message, args) {
|
||||
// Vérifie si un message a été spécifié
|
||||
if (args.length === 0) {
|
||||
|
||||
@@ -5,6 +5,7 @@ const path = require('path');
|
||||
module.exports = {
|
||||
name: 'servers',
|
||||
description: 'Liste les serveur du bot',
|
||||
category: 'botcontrol',
|
||||
async execute(message, args, client) {
|
||||
|
||||
const guilds = Array.from(client.guilds.cache.values()).map((guild, index) => `${index + 1}. ${guild.name} : ${guild.id}`).join("\n\n");
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
module.exports = {
|
||||
name: 'set',
|
||||
description: 'Modifier divers paramètres du bot.',
|
||||
category: 'botcontrol',
|
||||
async execute(message, args, client) {
|
||||
// Vérifiez si l'utilisateur a fourni suffisamment d'arguments
|
||||
if (args.length < 2) {
|
||||
|
||||
@@ -3,6 +3,7 @@ const { ActivityType } = require("discord.js");
|
||||
module.exports = {
|
||||
name: 'stream',
|
||||
description: 'Mettre le bot en stream',
|
||||
category: 'botcontrol',
|
||||
async execute(message, args, client) {
|
||||
const streamText = args.join(' ') || 'Streaming';
|
||||
const streamURL = 'https://www.twitch.tv/valou336_yt';
|
||||
|
||||
@@ -3,6 +3,7 @@ const { ActivityType } = require("discord.js");
|
||||
module.exports = {
|
||||
name: 'watch',
|
||||
description: 'Changer le status du bot en watch',
|
||||
category: 'botcontrol',
|
||||
async execute(message, args, client) {
|
||||
const streamText = args.join(' ') || 'Streaming';
|
||||
const streamURL = 'https://www.twitch.tv/valou336_yt';
|
||||
|
||||
Reference in New Issue
Block a user