splash chart data

This commit is contained in:
Ben Wilson
2023-07-10 20:14:54 -04:00
parent 9e4c14aada
commit 95e3bfc378
7 changed files with 132 additions and 8 deletions
+5 -1
View File
@@ -39,7 +39,11 @@ export class DiscordService implements OnModuleInit {
this.guildId = this.configService.get('DISCORD_BOT_GUILD_ID');
this.channelId = this.configService.get('DISCORD_BOT_CHANNEL_ID')
if (this.token.length < 1 || this.clientId.length < 1 || this.guildId.length < 1 || this.channelId.length < 1) {
if (this.token == null || this.token.length < 1 ||
this.clientId == null || this.clientId.length < 1 ||
this.guildId == null || this.guildId.length < 1 ||
this.channelId == null || this.channelId.length < 1
) {
return;
}