From 7610f22b57fec9688b86eac6ebeca29d68799fea Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Fri, 7 May 2021 08:28:17 -0400 Subject: [PATCH] Add user activity --- commands.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/commands.go b/commands.go index a32f39a..54066c6 100644 --- a/commands.go +++ b/commands.go @@ -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 {