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}\`)`;