deno fmt, add functions section
This commit is contained in:
		
							parent
							
								
									1447e8c0e4
								
							
						
					
					
						commit
						39567accfa
					
				
							
								
								
									
										2
									
								
								flags.ts
								
								
								
								
							
							
						
						
									
										2
									
								
								flags.ts
								
								
								
								
							| 
						 | 
				
			
			@ -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
								
								
								
								
							
							
						
						
									
										2
									
								
								mod.ts
								
								
								
								
							| 
						 | 
				
			
			@ -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';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,5 +13,5 @@ events.guildDelete = eventHandlers.guildDelete;
 | 
			
		|||
events.messageCreate = eventHandlers.messageCreate;
 | 
			
		||||
 | 
			
		||||
if (DEVMODE) {
 | 
			
		||||
	events.debug = eventHandlers.debug
 | 
			
		||||
	events.debug = eventHandlers.debug;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,8 +2,8 @@ import config from '../../config.ts';
 | 
			
		|||
import { LOCALMODE } from '../../flags.ts';
 | 
			
		||||
import {
 | 
			
		||||
	// Discordeno deps
 | 
			
		||||
	Bot,
 | 
			
		||||
	ActivityTypes,
 | 
			
		||||
	Bot,
 | 
			
		||||
	editBotNickname,
 | 
			
		||||
	editBotStatus,
 | 
			
		||||
	// Log4Deno deps
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
export default {};
 | 
			
		||||
		Loading…
	
		Reference in New Issue