diff options
Diffstat (limited to 'src/commands/utilities/reminders.ts')
-rw-r--r-- | src/commands/utilities/reminders.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/utilities/reminders.ts b/src/commands/utilities/reminders.ts index 369a1a5..509da67 100644 --- a/src/commands/utilities/reminders.ts +++ b/src/commands/utilities/reminders.ts @@ -1,7 +1,7 @@ import { BushCommand, ButtonPaginator, Reminder, type BushMessage, type BushSlashMessage } from '#lib'; import assert from 'assert'; import { APIEmbed } from 'discord-api-types'; -import { Permissions } from 'discord.js'; +import { PermissionFlagsBits } from 'discord.js'; import { Op } from 'sequelize'; assert(Op); @@ -15,7 +15,7 @@ export default class RemindersCommand extends BushCommand { usage: ['reminder'], examples: ['reminders'], slash: true, - clientPermissions: (m) => util.clientSendAndPermCheck(m, [Permissions.FLAGS.EMBED_LINKS]), + clientPermissions: (m) => util.clientSendAndPermCheck(m, [PermissionFlagsBits.EmbedLinks]), userPermissions: [] }); } |