commands.activity module

commands.activity.aggregate_messages_per_day(message_counts)[source]
commands.activity.aggregate_messages_per_hour(message_counts)[source]
commands.activity.activity(message, database, period, *args)[source]

Displays the number of messages posted over a given period.

Parameters:period – The period over which to count messages, can be “day” or “week”.
Returns:A discord message containing an activity graph attachment.