aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/reminders.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/reminders.ts')
-rw-r--r--src/commands/utilities/reminders.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commands/utilities/reminders.ts b/src/commands/utilities/reminders.ts
index 40ec9a2..369a1a5 100644
--- a/src/commands/utilities/reminders.ts
+++ b/src/commands/utilities/reminders.ts
@@ -1,6 +1,7 @@
import { BushCommand, ButtonPaginator, Reminder, type BushMessage, type BushSlashMessage } from '#lib';
import assert from 'assert';
-import { Permissions, type MessageEmbedOptions } from 'discord.js';
+import { APIEmbed } from 'discord-api-types';
+import { Permissions } from 'discord.js';
import { Op } from 'sequelize';
assert(Op);
@@ -26,7 +27,7 @@ export default class RemindersCommand extends BushCommand {
const formattedReminders = reminders.map((reminder) => `${util.timestamp(reminder.expires, 't')} - ${reminder.content}`);
const chunked = util.chunk(formattedReminders, 15);
- const embeds: MessageEmbedOptions[] = chunked.map((chunk) => ({
+ const embeds: APIEmbed[] = chunked.map((chunk) => ({
title: `Reminders`,
description: chunk.join('\n'),
color: util.colors.default