more sonar cleanup

This commit is contained in:
Ean Milligan (Bastion) 2022-09-03 05:00:39 -04:00
parent 6918cc70a4
commit 31629186c0
8 changed files with 8 additions and 16 deletions

View File

@ -1,6 +1,6 @@
export const config = { export const config = {
'name': 'Sweeper Bot', // Name of the bot 'name': 'Sweeper Bot', // Name of the bot
'version': '0.2.1', // Version of the bot 'version': '0.2.2', // Version of the bot
'token': 'the_bot_token', // Discord API Token for this bot 'token': 'the_bot_token', // Discord API Token for this bot
'localtoken': 'local_testing_token', // Discord API Token for a secondary OPTIONAL testing bot, THIS MUST BE DIFFERENT FROM "token" 'localtoken': 'local_testing_token', // Discord API Token for a secondary OPTIONAL testing bot, THIS MUST BE DIFFERENT FROM "token"
'prefix': 's!', // Prefix for all commands 'prefix': 's!', // Prefix for all commands

View File

@ -1,6 +1,6 @@
import config from '../../config.ts'; import config from '../../config.ts';
// import { dbClient, queries } from '../db.ts';
import { import {
// Discordeno deps
Bot, Bot,
// Log4Deno deps // Log4Deno deps
log, log,

View File

@ -1,8 +1,7 @@
import config from '../../config.ts'; import config from '../../config.ts';
// import { dbClient, queries } from '../db.ts';
import { import {
Bot,
// Discordeno deps // Discordeno deps
Bot,
Message, Message,
} from '../../deps.ts'; } from '../../deps.ts';
import { infoColor2 } from '../commandUtils.ts'; import { infoColor2 } from '../commandUtils.ts';

View File

@ -1,8 +1,7 @@
import config from '../../config.ts'; import config from '../../config.ts';
// import { dbClient, queries } from '../db.ts';
import { import {
Bot,
// Discordeno deps // Discordeno deps
Bot,
Message, Message,
} from '../../deps.ts'; } from '../../deps.ts';
import { infoColor2 } from '../commandUtils.ts'; import { infoColor2 } from '../commandUtils.ts';

View File

@ -1,7 +1,6 @@
// import { dbClient, queries } from '../db.ts';
import { import {
Bot,
// Discordeno deps // Discordeno deps
Bot,
Message, Message,
} from '../../deps.ts'; } from '../../deps.ts';
import { generatePing } from '../commandUtils.ts'; import { generatePing } from '../commandUtils.ts';

View File

@ -1,10 +1,8 @@
import config from '../../config.ts'; import config from '../../config.ts';
// import { dbClient, queries } from '../db.ts';
import { import {
// Discordeno deps
Bot, Bot,
// Discordeno deps
Message, Message,
// Discordeno deps
sendMessage, sendMessage,
} from '../../deps.ts'; } from '../../deps.ts';
import { failColor, generateReport, successColor } from '../commandUtils.ts'; import { failColor, generateReport, successColor } from '../commandUtils.ts';

View File

@ -1,9 +1,7 @@
// import { dbClient, queries } from '../db.ts';
import { import {
// Discordeno deps
Bot, Bot,
// Discordeno deps
Message, Message,
// Discordeno deps
sendMessage, sendMessage,
} from '../../deps.ts'; } from '../../deps.ts';
import { failColor, successColor } from '../commandUtils.ts'; import { failColor, successColor } from '../commandUtils.ts';

View File

@ -1,8 +1,7 @@
import config from '../../config.ts'; import config from '../../config.ts';
// import { dbClient, queries } from '../db.ts';
import { import {
Bot,
// Discordeno deps // Discordeno deps
Bot,
Message, Message,
} from '../../deps.ts'; } from '../../deps.ts';
import { infoColor1 } from '../commandUtils.ts'; import { infoColor1 } from '../commandUtils.ts';