deno fmt, add functions section

This commit is contained in:
Ean Milligan (Bastion) 2022-09-03 01:26:31 -04:00
parent 1447e8c0e4
commit 39567accfa
7 changed files with 9 additions and 7 deletions

View File

@ -3,4 +3,4 @@ export const DEVMODE = false;
// DEBUG is used to toggle the cmdPrompt
export const DEBUG = false;
// LOCALMODE is used to run a differnt bot token for local testing
export const LOCALMODE = false;
export const LOCALMODE = true;

2
mod.ts
View File

@ -8,10 +8,10 @@ import config from './config.ts';
import { DEBUG, LOCALMODE } from './flags.ts';
import {
// Discordeno deps
createBot,
initLog,
Intents,
startBot,
createBot,
} from './deps.ts';
// import { dbClient, ignoreList } from './src/db.ts';
import { events } from './src/events.ts';

View File

@ -13,5 +13,5 @@ events.guildDelete = eventHandlers.guildDelete;
events.messageCreate = eventHandlers.messageCreate;
if (DEVMODE) {
events.debug = eventHandlers.debug
events.debug = eventHandlers.debug;
}

View File

@ -2,11 +2,12 @@ import config from '../../config.ts';
import {
// Discordeno deps
Bot,
Message,
botId,
// Log4Deno deps
log,
LT,
// Discordeno deps
Message,
} from '../../deps.ts';
import commands from '../commands/_index.ts';
import utils from '../utils.ts';

View File

@ -2,8 +2,8 @@ import config from '../../config.ts';
import { LOCALMODE } from '../../flags.ts';
import {
// Discordeno deps
Bot,
ActivityTypes,
Bot,
editBotNickname,
editBotStatus,
// Log4Deno deps

1
src/functions/_index.ts Normal file
View File

@ -0,0 +1 @@
export default {};