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

@ -1,2 +1,2 @@
export const GUILD_ID = '977176004797804585';
export const MAINTAINERS_CHANNEL_ID = '977176106568396851';
export const GUILD_ID = '923671181020766230';
export const DEBUG_CHANNEL_ID = '977401259260788756';

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!',

1
logParser.ts Normal file
View file

@ -0,0 +1 @@
export const parseLog = (text: string) => {};