mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-27 02:05:20 +00:00
🎨 fix imports with new build script
This commit is contained in:
@@ -22,7 +22,7 @@ const router: Router = Router();
|
||||
|
||||
export default router;
|
||||
|
||||
export function isTextChannel(type: ChannelType): boolean {
|
||||
function isTextChannel(type: ChannelType): boolean {
|
||||
switch (type) {
|
||||
case ChannelType.GUILD_STORE:
|
||||
case ChannelType.GUILD_VOICE:
|
||||
@@ -39,6 +39,7 @@ export function isTextChannel(type: ChannelType): boolean {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
module.exports.isTextChannel = isTextChannel;
|
||||
|
||||
export interface MessageCreateSchema {
|
||||
content?: string;
|
||||
|
||||
Reference in New Issue
Block a user