Added config checking, event listeners, etc.

Can track added features by comparing TODO list.
This commit is contained in:
2021-07-16 23:53:31 +01:00
parent 1d355e3b2d
commit 51a01bab49
22 changed files with 346 additions and 77 deletions

@ -1,7 +1,15 @@
'864651943820525609':
adminroles:
- 864661232005939280
modchannel: 865348933022515220
channels:
mod: 865348933022515220
configured: false
membership: {}
name: Test
notifications:
help: null
signup: null
owner: 493694762210033664
prefix: '-'
roles:
admin:
- 864661232005939280
timeslots: []

@ -0,0 +1,30 @@
guild_id_string:
channels: # Dictionary
# help is an optional feature so not necessary in blueprint.
mod: 0
signup: 0
configured: false
membership: {} # Dictionary
# For membership, at least one kind needs to be defined. But no key is mandatory.
name: string
owner: 0
prefix: string
roles: # dictionary
admin:
- 0 # List
# For admins, at least one needs to be defined.
# committee notifications is optional so is not necessary in blueprint.
bots: 0
# newcomer role is optional
# returning player role is optional
# student role is optional
timeslots:
- string # List
# At least one needs to be defined.
meta:
strict:
- channels
- roles
notifications:
help: true
signup: true