Add user activity

This commit is contained in:
2021-05-07 08:28:17 -04:00
parent 0df1fae253
commit 7610f22b57

View File

@ -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 {