From 16f8fedd16ac9b3fcd4edaab888ad56959c8f5e8 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Sun, 5 Sep 2021 16:34:31 +0200 Subject: [PATCH] Update command stats model --- database/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/database/models.py b/database/models.py index 031a280..2338460 100644 --- a/database/models.py +++ b/database/models.py @@ -50,7 +50,9 @@ class CommandStats(Base): __tablename__ = "command_stats" day = Column(Date, primary_key=True) - amount = Column(Integer) + commands = Column(Integer, default=0) + slash_commands = Column(Integer, default=0) + context_menus = Column(Integer, default=0) class CustomCommand(Base):