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:
@@ -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