archangelic / pinhook

the pluggable python framework for IRC bots and Twitch bots
https://archangelic.github.io/pinhook/
MIT License
31 stars 4 forks source link

Allow bot to issue additional IRC commands #45

Closed RussellChamp closed 4 years ago

RussellChamp commented 5 years ago

Right now pinhook can issue PRIVMSG, NOTICE, and /me actions. Could we also have support for arbitrary IRC commands such as JOIN, KICK, TOPIC, etc? https://en.wikipedia.org/wiki/List_of_Internet_Relay_Chat_commands

archangelic commented 5 years ago

The bot can already join channels at your request using the !join <channel> [key] command.

RussellChamp commented 5 years ago

My specific use case was for "topicbot" to be able to set the topic on a channel.

archangelic commented 5 years ago

Going to break this up as pinhook version 2 is going to be a core framework with different implementations (irc, twitch, mastodon, twitter) as separate repositories that will all depend on core.

That said, i think it is okay to add kick and topic as they are already built into the bot class.

archangelic commented 4 years ago

This has been possible for a while, as the entire bot object is passed to plugins for advanced usage.