stupid ass bitch bot

This commit is contained in:
Emily 2021-03-18 12:10:09 +11:00
parent fa99b7b1a1
commit 1feb88451c
3 changed files with 7 additions and 1 deletions

View file

@ -6,6 +6,7 @@ const Discord = require('discord.js');
const { promisify } = require('util');
const readdir = promisify(require('fs').readdir);
const Enmap = require('enmap');
const sentry = require('@sentry/node');
const chalk = require('chalk');
const client = new Discord.Client({ ws: { intents: [
'GUILDS',
@ -55,6 +56,10 @@ if(client.config.devmodeEnabled == true && process.env['USER'] != 'container') {
const DBL = require("dblapi.js");
const dblapi = new DBL(client.config.dblkey, client);
};
if(client.config.sentry.length > 0) {
sentry.init({ dsn: client.config.sentry });
};
};
client.commands = new Enmap();

View file

@ -5,6 +5,7 @@
"main": "index.js",
"dependencies": {
"@discordjs/opus": "^0.4.0",
"@sentry/node": "^6.2.2",
"better-sqlite3": "^7.1.2",
"chalk": "^4.0.0",
"dblapi.js": "^2.4.1",

View file

@ -1,4 +1,4 @@
{
"number": "1.4",
"number": "1.4.1",
"changelog": "**1.4 Changelog**\n> • Splatoon commands have been added! check current and upcoming maps and modes with `~splatoonmaps`, current and upcoming salmon run maps, weapons and reward gear with `~salmonrun` and see what gear is on offer in the splatnet shop with `~splatnet`!\n**Notes:**\n> • Music is still broken and likely will be until v2 is released. Fixing v1 would delay v2 a lot, sorry >.<"
}