aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BotClient.ts
diff options
context:
space:
mode:
authorTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-04-27 21:15:30 -0600
committerTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-04-27 21:15:30 -0600
commitf31e36f4a0140a9b4a3b08f5998e3920c10ecc49 (patch)
tree5dc498e91f462cbdaa3d100169f09053d506c9ca /src/lib/extensions/BotClient.ts
parent763fb7d98c3accbb21adf035a7cf0a83cb9533c9 (diff)
downloadtanzanite-f31e36f4a0140a9b4a3b08f5998e3920c10ecc49.tar.gz
tanzanite-f31e36f4a0140a9b4a3b08f5998e3920c10ecc49.tar.bz2
tanzanite-f31e36f4a0140a9b4a3b08f5998e3920c10ecc49.zip
remove most if not all of utilibot specific things
Diffstat (limited to 'src/lib/extensions/BotClient.ts')
-rw-r--r--src/lib/extensions/BotClient.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/extensions/BotClient.ts b/src/lib/extensions/BotClient.ts
index 4d1c31a..5ef8c31 100644
--- a/src/lib/extensions/BotClient.ts
+++ b/src/lib/extensions/BotClient.ts
@@ -14,13 +14,10 @@ import { Util } from './Util';
import * as Tasks from '../../tasks';
import { v4 as uuidv4 } from 'uuid';
import { exit } from 'process';
-import { TopGGHandler } from '../utils/TopGG';
export interface BotConfig {
credentials: {
botToken: string;
- dblToken: string;
- dblWebhookAuth: string;
};
owners: string[];
prefix: string;
@@ -31,9 +28,7 @@ export interface BotConfig {
host: string;
port: number;
};
- topGGPort: number;
channels: {
- dblVote: string;
log: string;
error: string;
dm: string;
@@ -46,7 +41,6 @@ export class BotClient extends AkairoClient {
public listenerHandler: ListenerHandler;
public inhibitorHandler: InhibitorHandler;
public commandHandler: CommandHandler;
- public topGGHandler: TopGGHandler;
public util: Util;
public ownerID: string[];
public db: Sequelize;
@@ -115,7 +109,6 @@ export class BotClient extends AkairoClient {
logging: false
}
);
- this.topGGHandler = new TopGGHandler(this);
BotGuild.install();
BotMessage.install();
}
@@ -147,7 +140,6 @@ export class BotClient extends AkairoClient {
Object.keys(Tasks).forEach((t) => {
setInterval(() => Tasks[t](this), 60000);
});
- this.topGGHandler.init();
}
public async dbPreInit(): Promise<void> {