Compare commits

..

No commits in common. "0e1d8f39074cf4034779a29d4f2005fe60e68319" and "cec38cf4bd4e33ebc2650fca5f883a3229b6df1f" have entirely different histories.

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 { export function isAuthorized(guild: Guild | null, channel: TextChannel | DMChannel | NewsChannel): boolean {
if (guild?.id === "637512823676600330" && channel?.id === "669464416420364288" || process.argv[2] === "dev") return true; if (guild?.id === "637512823676600330" || process.argv[2] === "dev") return true;
else { else {
channel.send("Sorry, this command can only be used in Monika's emote server. (#mon-stocks)"); channel.send("Sorry, this command can only be used in Monika's emote server.");
return false; return false;
} }
} }