mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 10:19:10 +00:00
sync
This commit is contained in:
parent
5510d5a1c4
commit
3d541ac480
11 changed files with 108 additions and 42 deletions
|
@ -20,6 +20,10 @@ class DiscordService extends Service {
|
|||
|
||||
async startBot () {
|
||||
await this.client.login(this.botToken)
|
||||
|
||||
for (let server of this.client.guilds.array()) {
|
||||
await this.ctx.server.ensure(server)
|
||||
}
|
||||
}
|
||||
|
||||
getRelevantServers (userId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue