From b0c6af6dc2cf840294d96a47f087898f1ca6df26 Mon Sep 17 00:00:00 2001 From: xfnw Date: Sat, 11 Jul 2020 22:03:08 +0000 Subject: [PATCH] remove some channels --- modules/admin.py | 2 +- modules/nlp.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/admin.py b/modules/admin.py index 0e35722..039f93a 100644 --- a/modules/admin.py +++ b/modules/admin.py @@ -85,7 +85,7 @@ async def adminHandle(self, chan, source, msg): async def init(self): self.cmd['admin'] = adminHandle - self.joins = ["#chaos", "#lickthecheese", "#windowsloser", "#cminecraft", "#team", "#clubcraft", "#rscmakerspace", "#archlinux", "#tildetel", "#one", "#starlanes", "#ipd", "#pinebox"] + self.joins = ["#chaos", "#lickthecheese", "#windowsloser", "#cminecraft", "#team", "#clubcraft", "#rscmakerspace", "#archlinux", "#one", "#starlanes", "#ipd", "#pinebox"] self.help['admin'] = ['admin - various bot owner commands (more for subcommands)', 'sub-commands of admin, for more info do help admin : quit reload commit part join joins eval send'] self.help['admin quit'] = ['admin quit - make the bot disconnect','no'] diff --git a/modules/nlp.py b/modules/nlp.py index fd6c97a..0eef0b8 100644 --- a/modules/nlp.py +++ b/modules/nlp.py @@ -75,7 +75,6 @@ async def go(self, c, n, m): await self.message(c, ' '.join(await genOut(self, await getNoun(self, words)))) async def init(self): - self.db = dataset.connect('sqlite:///database.db') self.qtime = {}