Added config checking, event listeners, etc.
Can track added features by comparing TODO list.
This commit is contained in:
@ -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: []
|
||||
|
30
app/data/config_blueprint.yml
Normal file
30
app/data/config_blueprint.yml
Normal file
@ -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
|
Reference in New Issue
Block a user