From 3e8886256ab3fd65c3f0395c29557235d11c822d Mon Sep 17 00:00:00 2001 From: Atridad Lahiji <88056492+atridadl@users.noreply.github.com> Date: Mon, 5 Jun 2023 22:29:03 -0600 Subject: [PATCH] borf pls --- src/commands/borf.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/borf.ts b/src/commands/borf.ts index 54b896e..8880112 100644 --- a/src/commands/borf.ts +++ b/src/commands/borf.ts @@ -17,15 +17,15 @@ export class UserCommand extends Command { // Message command public async messageRun(message: Message) { - return this.sendPing(message); + return this.sendBorf(message); } // Chat Input (slash) command public async chatInputRun(interaction: Command.ChatInputCommandInteraction) { - return this.sendPing(interaction); + return this.sendBorf(interaction); } - private async sendPing(interactionOrMessage: Message | Command.ChatInputCommandInteraction | Command.ContextMenuCommandInteraction) { + private async sendBorf(interactionOrMessage: Message | Command.ChatInputCommandInteraction | Command.ContextMenuCommandInteraction) { const dogResponse = await fetch('https://dog.ceo/api/breeds/image/random'); const dogData = await dogResponse.json(); console.log(dogData);