EuIrcBot
EuIrcBot copied to clipboard
Add !topic command
Allow euircbot to prepend to the topic. Would obviously require -t on the channel or +h/+o on the bot.
:shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit::shipit:
My vote goes to +h/+o on the bot (rather than -t on the channel) and everyone having access to !topic :)
Can split topic chunks with |, remove chunks from the end when they'd otherwise truncate, and generally just keep the topic nice & clean
@drusepth I don't think +h/+o vs -t makes a difference coding-wise; the bot just has to be able to /topic one way or another.
- store chunks somewhere upon removal from topic
- if possible, store who wrote what chunks
- allow number of chunks displayed in topic to be adjustable
- prevent someone from spamming chunks
- allow chunks to be edited
- allow chunks to be removed
@LinuxMercedes Oh, yeah, I was just opting for using the bot as the sole interface to changing the topic to keep the topic nice and clean :+1:
One thing worth mentioning is that chanserv in the various services programs (e.g. anope and atheme) have topic commands.
It could be worth checking if they have any interesting ideas there. For reference, atheme has topicappend and topicprepend (docs).
It's likely also fine to ignore them and do our own thing as well.