Skip to content

Commit

Permalink
Fix client call
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazelf committed Feb 20, 2025
1 parent 4c26492 commit a5001a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/info/ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default async (interaction, messageFlags) => {
let websocketPing = Math.abs(interaction.client.ws.ping);
let replyString = `Pong!\n- Websocket ping is ${websocketPing}ms.\n- Command ping is ${commandPing}ms.`;

let problemChannel = await client.channels.fetch("581776008978497537");
let problemChannel = await interaction.client.channels.fetch("581776008978497537");
console.log(problemChannel)
return sendMessage({ interaction: interaction, content: problemChannel, flags: messageFlags.add(MessageFlags.Ephemeral) });

Expand Down

0 comments on commit a5001a5

Please sign in to comment.