Skip to content

Instantly share code, notes, and snippets.

@foxlet
Last active August 29, 2015 14:13
Show Gist options
  • Save foxlet/e89cc603580e443d2f8e to your computer and use it in GitHub Desktop.
Save foxlet/e89cc603580e443d2f8e to your computer and use it in GitHub Desktop.
from cloudbot import hook
@hook.irc_raw('004')
def autoexec(bot, conn):
conn.cmd("irc_command", "param1", "param2")
@foxlet
Copy link
Author

foxlet commented Jan 12, 2015

Assuming OperServ, you could use:

conn.cmd("os", "login", "mypass")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment