forked from embee/woomy
		
	stupid ass bitch bot
This commit is contained in:
		
							parent
							
								
									fa99b7b1a1
								
							
						
					
					
						commit
						1feb88451c
					
				
					 3 changed files with 7 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								index.js
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								index.js
									
										
									
									
									
								
							| 
						 | 
					@ -6,6 +6,7 @@ const Discord = require('discord.js');
 | 
				
			||||||
const { promisify } = require('util');
 | 
					const { promisify } = require('util');
 | 
				
			||||||
const readdir = promisify(require('fs').readdir);
 | 
					const readdir = promisify(require('fs').readdir);
 | 
				
			||||||
const Enmap = require('enmap');
 | 
					const Enmap = require('enmap');
 | 
				
			||||||
 | 
					const sentry = require('@sentry/node');
 | 
				
			||||||
const chalk = require('chalk');
 | 
					const chalk = require('chalk');
 | 
				
			||||||
const client = new Discord.Client({ ws: { intents: [
 | 
					const client = new Discord.Client({ ws: { intents: [
 | 
				
			||||||
  'GUILDS',
 | 
					  'GUILDS',
 | 
				
			||||||
| 
						 | 
					@ -55,6 +56,10 @@ if(client.config.devmodeEnabled == true && process.env['USER'] != 'container') {
 | 
				
			||||||
    const DBL = require("dblapi.js");
 | 
					    const DBL = require("dblapi.js");
 | 
				
			||||||
    const dblapi = new DBL(client.config.dblkey, client);
 | 
					    const dblapi = new DBL(client.config.dblkey, client);
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  if(client.config.sentry.length > 0) {
 | 
				
			||||||
 | 
					    sentry.init({ dsn: client.config.sentry });
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
client.commands = new Enmap();
 | 
					client.commands = new Enmap();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,6 +5,7 @@
 | 
				
			||||||
  "main": "index.js",
 | 
					  "main": "index.js",
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@discordjs/opus": "^0.4.0",
 | 
					    "@discordjs/opus": "^0.4.0",
 | 
				
			||||||
 | 
					    "@sentry/node": "^6.2.2",
 | 
				
			||||||
    "better-sqlite3": "^7.1.2",
 | 
					    "better-sqlite3": "^7.1.2",
 | 
				
			||||||
    "chalk": "^4.0.0",
 | 
					    "chalk": "^4.0.0",
 | 
				
			||||||
    "dblapi.js": "^2.4.1",
 | 
					    "dblapi.js": "^2.4.1",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 >.<"
 | 
					    "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 >.<"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue