mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
List total commands per day instead of total usages per command
This commit is contained in:
parent
119d7c8dca
commit
e56de111eb
6 changed files with 88 additions and 17 deletions
|
|
@ -3,8 +3,7 @@ import datetime
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
from functions import checks, easterEggResponses
|
||||
from functions.database import stats, muttn, custom_commands
|
||||
from functions import commands as command_stats
|
||||
from functions.database import stats, muttn, custom_commands, commands as command_stats
|
||||
import pytz
|
||||
import time
|
||||
import traceback
|
||||
|
|
@ -96,7 +95,8 @@ class Events(commands.Cog):
|
|||
print("{} in {}: {}".format(ctx.author.display_name,
|
||||
"DM" if DM else "{} ({})".format(ctx.channel.name, ctx.guild.name),
|
||||
ctx.message.content))
|
||||
command_stats.updateFile(ctx)
|
||||
|
||||
command_stats.invoked()
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_command_error(self, ctx, err):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue