lockable courses via config

This commit is contained in:
wish
2022-10-30 16:43:58 +11:00
parent 8afec7a7df
commit 676bb736bf
4 changed files with 30 additions and 30 deletions

View File

@@ -21,6 +21,7 @@ type Config struct {
DevModeOptions DevModeOptions
Discord Discord
Commands []Command
Courses []Course
Database Database
Launcher Launcher
Sign Sign
@@ -70,8 +71,8 @@ type Command struct {
Prefix string
}
// Courses is an array of enabled courses
type Courses struct {
// Course represents a course within MHF
type Course struct {
Name string
Enabled bool
}