langel / botb_irc_bot

battle of the bits instant relay chat magic
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

!topic command #77

Open langel opened 5 years ago

langel commented 5 years ago

!topic by itself prints the channel topic !topic x x replaces the current channel topic

this meant to work through the vombot bridge need a permissions solution (maybe white list w/ specific names :shrug:)

topic can still be set manually in irc of course duh wow

kleeder commented 5 years ago

tough one... specific names arent a good idea i guess, since discord names can exist multiple times. maybe check for the discord-leftenant-role via vombot and only then execute commands and stuff on the irc-side

langel commented 5 years ago

haha this is such poor coupling, but you're right vombot should intercept the command and update it if its from a leftenant then botb needs to watch for vombot specifically to give a certain string ugggg but then both bots need to be registered nicks on irc

this'll need a bit more thought, but we're getting close 🤔

kleeder commented 5 years ago

but if vom is registered, he's able to be an operator or so, which means he's able to change the topic directly without botbot's help, am i right?

langel commented 5 years ago

oh yeah lol well i kind of object on some kind of bot role architectural level ....but it fixes the poor coupling issue hahaha so i'd only need to register the vombot nick and i like keeping botb kind of simpler and dumb so i guess i should move this ticket to the vombot repo 🤣