From 36485fbda858fbd5521fce601a5dab5f64136e15 Mon Sep 17 00:00:00 2001 From: yuki Date: Tue, 7 Oct 2025 08:06:50 -0300 Subject: [PATCH] minor formatting --- bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 00043d4..f1195c1 100644 --- a/bot.py +++ b/bot.py @@ -38,14 +38,14 @@ class Bot(nerimity.Client): if user.id == self.owner_id: return True else: return False - async def _process_commands(self, message: nerimity.Message): - if message.author.id == self.account.id: return - await super()._process_commands(message) - def _process_slash_commands(self, message: nerimity.Message): if message.author.id == self.account.id: return super()._process_slash_commands(message) + async def _process_commands(self, message: nerimity.Message): + if message.author.id == self.account.id: return + await super()._process_commands(message) + async def init_db(self): print("Initializing database...") self.db = await aiosqlite.connect(self.db_file)