From eedfc2e5bba466619712d0cb08957a1b3d49febe Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Mon, 12 Aug 2024 16:14:45 -0600 Subject: [PATCH] guildinfo: copypaste moment --- src/modules/utility/guildinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/utility/guildinfo.js b/src/modules/utility/guildinfo.js index d5c8dd6..04bab1d 100644 --- a/src/modules/utility/guildinfo.js +++ b/src/modules/utility/guildinfo.js @@ -81,7 +81,7 @@ guildinfo.callback = async function (msg, line, args, {nolocal, debug}) { clan.game_ids.map(async (id) => { let game = Games.find((x) => x.id == id); if (!game) { - game = await hf.bot.requestHandler.request("GET", APIEndpoints.APPLICATION_RPC(snowflake), false); + game = await hf.bot.requestHandler.request("GET", APIEndpoints.APPLICATION_RPC(id), false); } return `${game.name} (\`${id}\`)`;