mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-09 01:01:47 +02:00
grand commit que tutur attend ( marche pas le raidmode en dev)
sinon il y a pleins de truc comme les anti raid , des coorectif ect
This commit is contained in:
@@ -5,6 +5,7 @@ module.exports = {
|
||||
async execute(interaction, client) {
|
||||
const botId = client.user.id;
|
||||
const customId = interaction.customId;
|
||||
if (customId == undefined || customId === null) return;
|
||||
if (!customId.startsWith('rolebuttons_')) return;
|
||||
|
||||
const roleId = customId.split('_')[1];
|
||||
|
||||
Reference in New Issue
Block a user