utility.guildinfo: fix missing await on getGuild
This commit is contained in:
parent
6c08af5aa9
commit
6ed702f06b
1 changed files with 1 additions and 1 deletions
|
@ -1777,7 +1777,7 @@ guildinfo.callback = async function (msg, line) {
|
||||||
_guild = {source: "local", data: msg.channel.guild};
|
_guild = {source: "local", data: msg.channel.guild};
|
||||||
} else {
|
} else {
|
||||||
if (!SNOWFLAKE_REGEX.test(line)) return "Not a snowflake.";
|
if (!SNOWFLAKE_REGEX.test(line)) return "Not a snowflake.";
|
||||||
_guild = getGuild(line);
|
_guild = await getGuild(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
const guild = _guild.data;
|
const guild = _guild.data;
|
||||||
|
|
Loading…
Reference in a new issue