mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-03 23:36:23 +02:00
add command
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Message, Client } from 'discord.js';
|
||||
import sqlite3 from 'sqlite3';
|
||||
require('dotenv').config();
|
||||
const joinVC = require('../fonctions/joinVC');
|
||||
const joinVC = require('../../fonctions/joinVC');
|
||||
|
||||
module.exports = {
|
||||
aliases: ['autovocset', 'autovoc'],
|
||||
@@ -0,0 +1,13 @@
|
||||
import { Message, Client } from 'discord.js';
|
||||
|
||||
module.exports = {
|
||||
aliases: [],
|
||||
description: 'Avoir des infos sur le bot.',
|
||||
emote: '⏱️',
|
||||
utilisation: '',
|
||||
|
||||
async execute(message: Message, args: string[], client: Client) {
|
||||
message.edit(`Salut bg !\nJe vend des bots, des selfbots, des tokens et de l'herbergement, me mp pour plus d'infos !\nN'hésite pas a regarder mon profil pour plus d'infos !`);
|
||||
|
||||
}
|
||||
};
|
||||
@@ -24,14 +24,6 @@ module.exports = {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
} else if (message.content === `<@!${client.user.id}>` || message.content === `<@${client.user.id}>`) {
|
||||
const channel: any = message.channel;
|
||||
if (channel.type === 'GUILD_TEXT') {
|
||||
const permissions = channel.permissionsFor(client.user);
|
||||
if (permissions?.has(Permissions.FLAGS.SEND_MESSAGES)) {
|
||||
message.reply(`Salut bg !\nJe vend des bots, des selfbots, des tokens et de l'herbergement, me mp pour plus d'infos !\nN'hésite pas a regarder mon profil pour plus d'infos !`);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user