mirror of
https://github.com/Burn-E99/SweeperBot.git
synced 2026-06-04 07:53:50 -04:00
deno fmt, add functions section
This commit is contained in:
2
flags.ts
2
flags.ts
@@ -3,4 +3,4 @@ export const DEVMODE = false;
|
|||||||
// DEBUG is used to toggle the cmdPrompt
|
// DEBUG is used to toggle the cmdPrompt
|
||||||
export const DEBUG = false;
|
export const DEBUG = false;
|
||||||
// LOCALMODE is used to run a differnt bot token for local testing
|
// LOCALMODE is used to run a differnt bot token for local testing
|
||||||
export const LOCALMODE = false;
|
export const LOCALMODE = true;
|
||||||
|
|||||||
2
mod.ts
2
mod.ts
@@ -8,10 +8,10 @@ import config from './config.ts';
|
|||||||
import { DEBUG, LOCALMODE } from './flags.ts';
|
import { DEBUG, LOCALMODE } from './flags.ts';
|
||||||
import {
|
import {
|
||||||
// Discordeno deps
|
// Discordeno deps
|
||||||
|
createBot,
|
||||||
initLog,
|
initLog,
|
||||||
Intents,
|
Intents,
|
||||||
startBot,
|
startBot,
|
||||||
createBot,
|
|
||||||
} from './deps.ts';
|
} from './deps.ts';
|
||||||
// import { dbClient, ignoreList } from './src/db.ts';
|
// import { dbClient, ignoreList } from './src/db.ts';
|
||||||
import { events } from './src/events.ts';
|
import { events } from './src/events.ts';
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ events.guildDelete = eventHandlers.guildDelete;
|
|||||||
events.messageCreate = eventHandlers.messageCreate;
|
events.messageCreate = eventHandlers.messageCreate;
|
||||||
|
|
||||||
if (DEVMODE) {
|
if (DEVMODE) {
|
||||||
events.debug = eventHandlers.debug
|
events.debug = eventHandlers.debug;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,11 +2,12 @@ import config from '../../config.ts';
|
|||||||
import {
|
import {
|
||||||
// Discordeno deps
|
// Discordeno deps
|
||||||
Bot,
|
Bot,
|
||||||
Message,
|
|
||||||
botId,
|
botId,
|
||||||
// Log4Deno deps
|
// Log4Deno deps
|
||||||
log,
|
log,
|
||||||
LT,
|
LT,
|
||||||
|
// Discordeno deps
|
||||||
|
Message,
|
||||||
} from '../../deps.ts';
|
} from '../../deps.ts';
|
||||||
import commands from '../commands/_index.ts';
|
import commands from '../commands/_index.ts';
|
||||||
import utils from '../utils.ts';
|
import utils from '../utils.ts';
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import config from '../../config.ts';
|
|||||||
import { LOCALMODE } from '../../flags.ts';
|
import { LOCALMODE } from '../../flags.ts';
|
||||||
import {
|
import {
|
||||||
// Discordeno deps
|
// Discordeno deps
|
||||||
Bot,
|
|
||||||
ActivityTypes,
|
ActivityTypes,
|
||||||
|
Bot,
|
||||||
editBotNickname,
|
editBotNickname,
|
||||||
editBotStatus,
|
editBotStatus,
|
||||||
// Log4Deno deps
|
// Log4Deno deps
|
||||||
|
|||||||
1
src/functions/_index.ts
Normal file
1
src/functions/_index.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export default {};
|
||||||
Reference in New Issue
Block a user