guildinfo: copypaste moment
This commit is contained in:
parent
50d36a650f
commit
eedfc2e5bb
1 changed files with 1 additions and 1 deletions
|
@ -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}\`)`;
|
||||
|
|
Loading…
Reference in a new issue