Add user activity
This commit is contained in:
@ -83,6 +83,15 @@ func setupCommands() {
|
|||||||
Help: "Set the log level for loggy",
|
Help: "Set the log level for loggy",
|
||||||
}
|
}
|
||||||
commands = append(commands, debugLevel)
|
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 {
|
func Commands(b BotCommand) bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user