From aabfed57faff904ba69ff94b9cdc3f2a4a9857b5 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 21 Aug 2023 00:00:00 +0000 Subject: yes --- librespeech.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/librespeech.py b/librespeech.py index 90262c3..a687455 100755 --- a/librespeech.py +++ b/librespeech.py @@ -36,7 +36,7 @@ identity = None # identity = ' ' identity = open("ident").read().strip() debug = True -channels = ["#librespeech"] +channels = ["#librespeech", "##adeban"] owner = ["Adeline", "Noisytoot"] defcon = [1] @@ -184,7 +184,7 @@ def yay(irc, hostmask, args): else: irc.msg(channel, f"{hostmask[0]}: usage: {irc.current_nick} (off | noop | censor | quiet | ban | ducks | badword | target)") elif args[-1].startswith(f"{irc.current_nick}:"): - irc.msg(channel, f"{hostmask[0]}: unauthorized") + irc.msg(channel, f"{hostmask[0]}: no") @irc.Handler("MODE", colon=False) @@ -234,6 +234,7 @@ def yay(irc, hostmask, args): irc.msg("ChanServ", "DEOP", channel, haxxorname[0]) time.sleep(3) irc.send("JOIN", channel) + @irc.Handler("471", colon=False) def yay(irc, hostmask, args): channel = args[1] -- cgit v1.2.3