Technik-Tueftler / TwitchHenCommander

Collect the messages with a hashtag and tweet the hastags at the end of the stream
GNU General Public License v3.0
3 stars 0 forks source link

Hashtag Filter #53

Closed Technik-Tueftler closed 3 months ago

Technik-Tueftler commented 4 months ago

What

Create a Blacklist for hashtags which are not allowed on stream

Idea

Build a string with all blacklist hashtags and check new hashtags

blacklist = "#dasnicht#unddasauchnicht#"
check = "#dasnich#"
if check in blacklist:
    print("Hashtag nicht erlaubt")
else:
    print("Hashtag ist erlaubt")

ToDo