From 1b62714fd7bf7cb013ec8cb5fefa9159f652cba1 Mon Sep 17 00:00:00 2001 From: lickthecheese Date: Fri, 15 May 2020 16:44:43 -0400 Subject: [PATCH] new nick lol --- bot.py | 2 +- modules/__pycache__/nlp.cpython-36.pyc | Bin 2791 -> 2884 bytes modules/nlp.py | 8 ++++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 8c3943d..da2b978 100755 --- a/bot.py +++ b/bot.py @@ -72,7 +72,7 @@ class Oven(pydle.Client): if __name__ == "__main__": client = Oven('kim', realname='Kim Jong Un?') - client.admins = ['lickthecheese', 'ben', 'cmccabe', 'gbmor', 'tomasino', 'ubergeek', 'deepend', 'calamitous', 'brendo', 'khuxkm'] + client.admins = ['lickthecheese', 'ben', 'cmccabe', 'gbmor', 'tomasino', 'ubergeek', 'deepend', 'calamitous', 'brendo', 'khuxkm','lick'] client.prefix = 'kim: ' client.run('team.tilde.chat', tls=True, tls_verify=False) diff --git a/modules/__pycache__/nlp.cpython-36.pyc b/modules/__pycache__/nlp.cpython-36.pyc index 487538bee2293ab2b22021799a2b2d7b89b7e882..8f37225d4df3de7b80de212d86b7a917f86695da 100644 GIT binary patch delta 397 zcmXZWKT88K6aetN-1U+RElRQfKn4GRc2KNU+k&8W@XsI);;Nj@4L#da(g+GS2!~(5 ze27jCuFm=e92{it@LLv_rs}Kzlq{QYlPe|gV^oU4uNZ`MckPFYW_zd{wj4xC&e-H*L z*8O3aiN8>WgW%rW@#bum;DBjxp$bJP!zARPOp7puk?NRt{_3^xhH9Hfe-8G|*k5U{ zV?vV%B({cM(LO;PNl{liXimDQrx~`(Wo{drJ0*4RNz}T4Z-1zzhGb4WxT*UYlYtIK zq0U(EI*!AhR(Y(dHOr=D%d%wYm;i_FR<9n3tDJ?)|d3!|WTmO4%8AOm1LLVhox5nBCA(sf4M9Ig2%gxtXzj_Q}N@%9Gb} z7&D4Ye#jxtRAfH+AIB~>Q;-6)$@@4J8C@nn;M8SQo6N^09bUp(!;r<6!fXREl*O+~ zw74)Qvn16@Utd2Zu_Q4mu{c#PB?)ZyE#|zO0!{W?>>!Ea)RJ55$@zJCsmUcpJRs8z zK!iGoFrU1DOU2zA$Smdn5)6zyOl(YSj74@pwkBthHIORO01<{DLL5XWfe1YiVGbfp WKm 1: - await rec(self, m) + if self.learntime + self.learndelay > time.time(): + await rec(self, m) + self.learntime = time.time() async def go(self, c, n, m): await rec(self, m) @@ -77,6 +79,8 @@ async def init(self): self.qtime = {} - self.enmul = 1 + self.learntime = 0 + self.learndelay = 2 + self.enmul = 25 self.raw['nlp'] = filter