Browse Source

Add user activity

master
Gregory Rudolph 3 years ago
parent
commit
7610f22b57
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 9
      commands.go

9
commands.go

@ -83,6 +83,15 @@ func setupCommands() { @@ -83,6 +83,15 @@ func setupCommands() {
Help: "Set the log level for loggy",
}
commands = append(commands, debugLevel)
activityReport := Command {
Name: "Activity Report",
RequiresAdmin: false,
Keywords: []string{"activity", "active", "list"},
Exec: ActivityReport,
Help: "List activity for the discord. Supply a number to get the top N users (5 would be top 5 users) or all for all users!",
}
commands = append(commands, activityReport)
}
func Commands(b BotCommand) bool {

Loading…
Cancel
Save