Commit ab2381c5 authored by user472393's avatar user472393
Browse files

dont allow the bot to be triggered in the stream promotion channel

parent 4d396856
# TODO
# is there some less fragile way to have the bot ignore itself?
/trigger addreplace matcher_discord line "*,.irc.*" "${tg_message_nocolor} =~ !nullpo|!camb|!tgm|!tap|!tgm3|!shiro|!texy && ${tg_tag_nick} != tetrisconcept_tv && ${buffer_name} =* irc.local.*" "" "/exec -bg /home/tctv/tctv/weechat_shim --buffer ${buffer.full_name} --player_one ${tg_message_nocolor}"
/trigger addreplace matcher_discord line "*,.irc.*" "${tg_message_nocolor} =~ !nullpo|!camb|!tgm|!tap|!tgm3|!shiro|!texy && ${tg_tag_nick} != tetrisconcept_tv && ${buffer_name} != irc.local.#the_stream && ${buffer_name} =* irc.local.*" "" "/exec -bg /home/tctv/tctv/weechat_shim --buffer ${buffer.full_name} --player_one ${tg_message_nocolor}"
/trigger addreplace matcher_irc line "*,.irc.*" "${tg_message_nocolor} =~ !nullpo|!camb|!tgm|!tap|!tgm3|!shiro|!texy && ${tg_tag_nick} != tetrisconceptTV && ${tg_tag_nick} != tetrisconcept_tv && ${buffer_name} !* irc.local.*" "" "/exec -bg /home/tctv/tctv/weechat_shim --buffer ${buffer.full_name} --player_one ${tg_tag_nick} --game ${tg_message_nocolor}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment