-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
36 lines (31 loc) · 1.34 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Author: [email protected]
* Description: initializes the inhouse bot.
*/
/*
* Plan:
* 1) Rewrite data access layer.
* 2) Write test.
*/
// High priority
// TODO: Use mongoose for DB modeling
// TODO: Use Mocha + should + monky to implement test
// TODO: implement registration check prior to every database API call
// TODO: change the DbClient class to use a singleton MongoDb object instead of passing db to every method call
// Normal priority
// TODO: migrate workload to Azure
// TODO: change backing store to Azure MongoDB (be sure to update config.prod.js)
// Low priority
// TODO: investigate whether bot can auto-host lobbies
// TODO: code analysis over entire project to clean up warnings
// TODO: add JSDoc comments to every method
// TODO: after registration check, update the player's username if it has changed
// TODO: display MMR difference between 2 teams
// TODO: if friend request from a guild member, auto-add the user
// TODO: !games should display 'Cancelled' or 'Completed' games in last 15 minutes
// TODO: !sign should sign you into the sole game if there is only one
// TODO: !cancel and !start should start your game if you are the creator
// TODO: make !newSeason support names with spaces
// TODO: bug - messageHandler for !games when no seasons exist gives unknown error
var bot = require('./lib/bot');
bot.start();