1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-16 20:00:59 -05:00

Forgot to update the role IDs

This commit is contained in:
toast-ts 2024-07-27 08:15:10 +10:00
parent 0314c1b1b4
commit 32f7bfcdca

View File

@ -52,8 +52,8 @@ export default class InteractionCreate {
const timeDiff = time - isRatelimited;
if (timeDiff < 5000) return interaction.reply({content: 'You are on **__cooldown__**, please avoid spam-clicking next time.\n\n*This system is put in place due to selfbots.. I\'m sorry!*', ephemeral: true});
const MFFarm1 = '1149139369433776269';
const MFFarm2 = '1149139583729160325';
const MFFarm1 = '1266225167194001469';
const MFFarm2 = '1266225291232280707';
if (interaction.member.roles.cache.has(RoleID)) interaction.member.roles.remove(RoleID, 'Button Role').then(()=>interaction.reply({content: `You have been removed from <@&${RoleID}>`, ephemeral: true}));
else interaction.member.roles.add(RoleID, 'Button Role').then(async()=>{