Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message-forwarding module #58

Open
seiyria opened this issue Jul 7, 2014 · 1 comment
Open

message-forwarding module #58

seiyria opened this issue Jul 7, 2014 · 1 comment

Comments

@seiyria
Copy link
Member

seiyria commented Jul 7, 2014

there should be a module that, when activated, forwards all PMs and notices directed at the bot to the person who is in charge of it

@seiyria
Copy link
Member Author

seiyria commented Jul 10, 2014

The module is basically this:

      @on "notice", (bot, sender, channel, message) =>
        return if not sender or sender in ['InfoServ','*','AUTH']
        console.log "notice from #{sender}|#{channel} on #{bot.config.server}: #{message}"

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

No branches or pull requests

1 participant