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 = {
'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
'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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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