production!

This commit is contained in:
Ryan Cao 2022-05-21 11:36:25 +08:00
parent 4d469477d4
commit 9bf42c0cbf
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F
3 changed files with 7 additions and 6 deletions

View file

@ -26,12 +26,12 @@ client.once('ready', async () => {
);
const POLYMC_GUILD = await client.guilds.fetch(BuildConfig.GUILD_ID);
const MAINTAINERS_CHANNEL = POLYMC_GUILD.channels.cache.get(
BuildConfig.MAINTAINERS_CHANNEL_ID
const DEBUG_CHANNEL = POLYMC_GUILD.channels.cache.get(
BuildConfig.DEBUG_CHANNEL_ID
);
if (!MAINTAINERS_CHANNEL.isText()) throw new Error();
MAINTAINERS_CHANNEL.send({
if (!DEBUG_CHANNEL.isText()) throw new Error();
DEBUG_CHANNEL.send({
embeds: [
{
title: 'Started!',