architecture besides db setup, say+roll

This commit is contained in:
stjet
2024-07-22 09:19:12 +00:00
commit f8780249ce
12 changed files with 783 additions and 0 deletions

7
guards.ts Normal file
View File

@@ -0,0 +1,7 @@
import type { TextChannel } from "discord.js";
import { ChannelType } from "discord.js";
export function is_text_channel(channel: any): channel is TextChannel {
return channel.type === ChannelType.GuildText;
}