mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-10 02:33:06 +00:00
chore(bot): fixed remaining issues
This commit is contained in:
parent
7c2a99daf5
commit
77c4b75440
5 changed files with 29 additions and 17 deletions
|
@ -27,7 +27,7 @@ const command: Command = {
|
|||
(role) => role.name === 'Manager',
|
||||
)?.roleId;
|
||||
|
||||
const member = await interaction.guild?.members.fetch(interaction.user.id);
|
||||
const member = await interaction.guild.members.fetch(interaction.user.id);
|
||||
const hasManagerRole = member?.roles.cache.has(managerRoleId || '');
|
||||
|
||||
if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue