Rename files

This commit is contained in:
Tarrgon
2025-05-29 10:50:27 -04:00
parent 41299da489
commit 47baf05681
2 changed files with 0 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { ButtonInteraction, Client } from 'discord.js';
import { getNoteMessage } from '../utils/note-utils';
export default {
name: 'note-next',
handler: async function (client: Client, interaction: ButtonInteraction, userId: string, page: string) {
await interaction.deferUpdate();
const message = await getNoteMessage(userId, parseInt(page) + 1);
if (!message) return;
interaction.editReply(message);
}
};