From 4ad625de5b7bf440b016fdfe873573c44e282339 Mon Sep 17 00:00:00 2001 From: lickthecheese Date: Fri, 24 Apr 2020 10:19:54 -0400 Subject: [PATCH] allow ops to tell the bot to shut up lol --- bot.py | 2 +- modules/__pycache__/admin.cpython-36.pyc | Bin 3541 -> 3759 bytes modules/__pycache__/nlp.cpython-36.pyc | Bin 2639 -> 2716 bytes modules/admin.py | 9 +++++++-- modules/nlp.py | 6 +++++- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 193f0ca..935026d 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'] + client.admins = ['lickthecheese', 'ben', 'cmccabe', 'gbmor', 'tomasino', 'ubergeek', 'deepend', 'calamitous'] client.prefix = 'kim: ' client.run('team.tilde.chat', tls=True, tls_verify=False) diff --git a/modules/__pycache__/admin.cpython-36.pyc b/modules/__pycache__/admin.cpython-36.pyc index 085d23f58664f3aced59a32dc8d9db6fc7f21b31..f1739c6c6dafb2db8d7d4e0f905467f75d3972a1 100644 GIT binary patch delta 488 zcmY+9Jxc>Y5Qca5_AYyuy%;qbC8#M9@yv;Zt)QhM_<@aFAsA=Dd+DiX{*w|WGTiQ6Qjm|LdGXpQPv#+JQiL-?;3|>BOc58~UclIX&>X)fHmn6s# z+AR4cB!C>9OO|jH=n@_DFhdk5(I>hXV3z2i!jPE391ajA=5dhd;}8xL13l+xp}BUo zr=|9FMh95v`$-l@aFh%Ri#SFM5w=-0et*TivwcAa*|2n|o~SxABwf~I7Ys#_^;i>n zuxQD9fX)S9rQ25+kkTS|{bP~*ANG%@xs6s_ZnVpFU9Ru#w;DT~vB-H7-NvC#++z!q zC1WIveNmZ7QZr?xoE~{2#ecg}52&E-!$dfS0LjYrB z6HtI@ZsLc&R07`8TeSso`laSzEses8%o*!9m2@+Vvv#GKwGyZ2VJ)`b%{$VOu2fR| Nq)WZa;eV1teFJ`aSFQj6 delta 267 zcmYk$J4ysW5C-6`e)mlG?D$3&17VRFTq83hBg2KoL?$r$8w`v_j7_{jrzQqwg2-lG zz!P`^&#<|L(biAZS5QfP9Q{n6&Qq$|_3Q0hEySpGkywic6V{={7VERjDpS_kWS4!mm~OxLAz%l)e6FyEeYOT&i~ivA zU0T`ul3l+l?u+Q6EW#mmtGf_24dpQ{sVm>6#o5XWcsy|=sXd3TALXbu&l3DJO2V)O(-Fg6N`g|Rw}5^t`^T@rEM0})OH zWAX*I60H0NVk5Sef!JSRV)pf0j_4cx zw+#I2u<{NdB)mcGzshYM#inhQUc@Y1IKYsp1}QQ$G#ULMt>#w8b6MBr$yx?jc6g8ox*?6W_R*u~*2U>R)cpEjE&2 z_Ox2x><&|9{OuNwUBPeVI6!=yQy%9U9~m*U;iGP57TEWWB%8$a?2;##0-rL86nd{{9SiKmHdhz(pE(pe6*uTfgmuT9X1Y`(D zto*A`2IOd6urkL8+N2gbC`cnH(IvIf!y!@!eTNR&VlP9}D)Ak6a>QOlYDz95^W@3i2kTn3| z9J*|eBPUv6q{|w%zIAicPG4Xpth8%kUsO+;%~~~7W~o{*2=uo*U)mzub_fi7%K^1c rZb_ time.time(): + return if m[:5] == 'kim: ': m = m[5:] await go(self, c, n, m) @@ -68,7 +71,8 @@ async def go(self, c, n, m): async def init(self): self.db = dataset.connect('sqlite:///database.db') - + + self.qtime = {} self.enmul = 1 self.raw['nlp'] = filter