From 2f36def1eebe329f8e45575a36e623c49e2878fa Mon Sep 17 00:00:00 2001 From: xfnw Date: Sun, 2 Aug 2020 02:33:43 +0000 Subject: [PATCH] dont respond twice to dms --- bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 8f64f99..c9726a1 100755 --- a/bot.py +++ b/bot.py @@ -88,10 +88,10 @@ class Oven(pydle.Client): return account in self.admins - async def on_private_message(self, trash, source, msg): - if source != self.nickname: - for i in self.raw: - await self.raw[i](self, source, source, msg) + #async def on_private_message(self, trash, source, msg): + # if source != self.nickname: + # for i in self.raw: + # await self.raw[i](self, source, source, msg) if __name__ == "__main__":