-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.ts
39 lines (35 loc) · 1.08 KB
/
main.ts
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
37
38
39
/* This file loads all top-level commands and functions that need to be active for the bot to work.
* Add new commands here when they should be recognised by the bot.
*/
import './lang';
import './commands/8ball';
import './commands/avatar';
import './commands/balance';
import './commands/blackjack';
import './commands/cat';
import './commands/dadjoke';
import './commands/daily';
import './commands/emojispeak';
import './commands/flip';
import './commands/hangman';
import './commands/help';
import './commands/hotornot';
import './commands/hug';
import './commands/jazz';
import './commands/links';
import './commands/medic';
import './commands/poll';
import './commands/roll';
import './commands/rps';
import './commands/standoff';
import './commands/steamgame';
import './commands/support';
import './commands/tv';
import './commands/userinfo';
import './scheduled';
import './logging';
// Initialise database by deleting user timeouts.
let database1 = new pylon.KVNamespace('timeout');
database1.delete('timedOut');
let database2 = new pylon.KVNamespace('jazz');
database2.delete('timedOut');