Implement a single function for all callbacks from IRC hooks and send a seperate notification if an action takes place that concerns a bot
This commit is contained in:
@@ -13,7 +13,6 @@ class Cmd:
|
||||
return
|
||||
|
||||
commands = {spl[3]: [" ".join(spl[4:])]}
|
||||
print(" ".join(spl[4:]))
|
||||
success("Sending commands to relay %s as user %s" % (spl[1], spl[2]))
|
||||
deliverRelayCommands(spl[1], commands, user=spl[2])
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user