mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
DiscordService: swap to eris and refactor the entire service while we're at it.
This commit is contained in:
parent
27fb06a197
commit
03ad4202b8
14 changed files with 4075 additions and 410 deletions
13
bot/index.js
Normal file
13
bot/index.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
// @flow
|
||||
import type DiscordService from '../services/discord'
|
||||
import logger from '../logger'
|
||||
const log = logger(__filename)
|
||||
|
||||
export default class Bot {
|
||||
svc: DiscordService
|
||||
log: typeof log
|
||||
constructor (DS: DiscordService) {
|
||||
this.svc = DS
|
||||
this.log = log
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue