remove polycatgen

This commit is contained in:
Ryan Cao 2022-06-04 11:00:34 +08:00
parent 483ff7487c
commit 35331b783e
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F

View file

@ -123,23 +123,23 @@ We highly encourage asking authors that opted out to stop doing so.
}); });
}, },
'!polycatgen': async (c, e) => { // '!polycatgen': async (c, e) => {
if (!e.guild) return; // if (!e.guild) return;
if ( // if (
e.channelId !== POLYCAT_CHANNEL_ID && // e.channelId !== POLYCAT_CHANNEL_ID &&
process.env.NODE_ENV !== 'development' // process.env.NODE_ENV !== 'development'
) // )
return; // return;
await e.guild.emojis.fetch(); // await e.guild.emojis.fetch();
const polycat = e.guild.emojis.cache.find( // const polycat = e.guild.emojis.cache.find(
(emoji) => emoji.name?.toLowerCase() === 'polycat' // (emoji) => emoji.name?.toLowerCase() === 'polycat'
); // );
await e.reply( // await e.reply(
`.\n${polycat}${polycat}${polycat}${polycat}${polycat}\n${polycat}${polycat}${polycat}${polycat}${polycat}\n${polycat}${polycat}${polycat}${polycat}${polycat}\n${polycat}${polycat}${polycat}${polycat}${polycat}\n${polycat}${polycat}${polycat}${polycat}${polycat}` // `.\n${polycat}${polycat}${polycat}${polycat}${polycat}\n${polycat}${polycat}${polycat}${polycat}${polycat}\n${polycat}${polycat}${polycat}${polycat}${polycat}\n${polycat}${polycat}${polycat}${polycat}${polycat}\n${polycat}${polycat}${polycat}${polycat}${polycat}`
); // );
}, // },
'!piracy': async (c, e) => { '!piracy': async (c, e) => {
await e.reply({ await e.reply({