|
|
@ -13,6 +13,7 @@ import ( |
|
|
|
func setupCommands() { |
|
|
|
func setupCommands() { |
|
|
|
reboot := Command{ |
|
|
|
reboot := Command{ |
|
|
|
Name: "Reboot", |
|
|
|
Name: "Reboot", |
|
|
|
|
|
|
|
RequiresAdmin: true, |
|
|
|
Help: "Reboot me, requires token from logs.", |
|
|
|
Help: "Reboot me, requires token from logs.", |
|
|
|
Keywords: []string{"reboot", "re", "restart"}, |
|
|
|
Keywords: []string{"reboot", "re", "restart"}, |
|
|
|
Exec: Reboot, |
|
|
|
Exec: Reboot, |
|
|
@ -21,6 +22,7 @@ func setupCommands() { |
|
|
|
|
|
|
|
|
|
|
|
bumpset := Command{ |
|
|
|
bumpset := Command{ |
|
|
|
Name: "BumpSet", |
|
|
|
Name: "BumpSet", |
|
|
|
|
|
|
|
RequiresAdmin: true, |
|
|
|
Help: "Set the bump timer (requires time in minutes until next bump).", |
|
|
|
Help: "Set the bump timer (requires time in minutes until next bump).", |
|
|
|
Keywords: []string{"bs", "bumpset", "bumps"}, |
|
|
|
Keywords: []string{"bs", "bumpset", "bumps"}, |
|
|
|
Exec: BumpSet, |
|
|
|
Exec: BumpSet, |
|
|
@ -29,6 +31,7 @@ func setupCommands() { |
|
|
|
|
|
|
|
|
|
|
|
retrieveVerification := Command{ |
|
|
|
retrieveVerification := Command{ |
|
|
|
Name: "Retrieve Verification", |
|
|
|
Name: "Retrieve Verification", |
|
|
|
|
|
|
|
RequiresAdmin: true, |
|
|
|
Help: "Retrieve verification either by discord ID or by nickname", |
|
|
|
Help: "Retrieve verification either by discord ID or by nickname", |
|
|
|
Keywords: []string{"veri", "verification", "retrieve"}, |
|
|
|
Keywords: []string{"veri", "verification", "retrieve"}, |
|
|
|
Exec: RetrieveVerification, |
|
|
|
Exec: RetrieveVerification, |
|
|
@ -37,6 +40,7 @@ func setupCommands() { |
|
|
|
|
|
|
|
|
|
|
|
addQuote := Command{ |
|
|
|
addQuote := Command{ |
|
|
|
Name: "Add Quote", |
|
|
|
Name: "Add Quote", |
|
|
|
|
|
|
|
RequiresAdmin: true, |
|
|
|
Keywords: []string{"quote", "addq", "q"}, |
|
|
|
Keywords: []string{"quote", "addq", "q"}, |
|
|
|
Exec: AddQuote, |
|
|
|
Exec: AddQuote, |
|
|
|
} |
|
|
|
} |
|
|
@ -51,6 +55,7 @@ func setupCommands() { |
|
|
|
|
|
|
|
|
|
|
|
status := Command{ |
|
|
|
status := Command{ |
|
|
|
Name: "Status", |
|
|
|
Name: "Status", |
|
|
|
|
|
|
|
RequiresAdmin: true, |
|
|
|
Keywords: []string{"st", "status", "stats"}, |
|
|
|
Keywords: []string{"st", "status", "stats"}, |
|
|
|
Exec: Status, |
|
|
|
Exec: Status, |
|
|
|
} |
|
|
|
} |
|
|
|