Compare commits

...

2 Commits

1 changed files with 2 additions and 2 deletions

View File

@ -62,9 +62,9 @@ export function getSendEmbed(sender: User, receiver: User, amount: number): obje
}
export function isAuthorized(guild: Guild | null, channel: TextChannel | DMChannel | NewsChannel): boolean {
if (guild?.id === "637512823676600330" || process.argv[2] === "dev") return true;
if (guild?.id === "637512823676600330" && channel?.id === "669464416420364288" || process.argv[2] === "dev") return true;
else {
channel.send("Sorry, this command can only be used in Monika's emote server.");
channel.send("Sorry, this command can only be used in Monika's emote server. (#mon-stocks)");
return false;
}
}