arrowgent / Twitchtv-Bots-List

a list of (unwanted) known twitch bots that lurk in every channel...
The Unlicense
59 stars 20 forks source link

[Bot]: irc /ban py #18

Closed arrowgent closed 1 year ago

arrowgent commented 1 year ago

BOT NAME

twitch

verify

https://github.com/arrowgent/Twitchtv-Bots-List/blob/main/scripts/twitchautoban.py

twitch changed the irc command "/ban" to the helix api requires re-writing the python3 script

https://dev.twitch.tv/docs/api/reference/#ban-user

Version

user

What system are you seeing the bot on?

TWITCH, Other

log output

curl -X POST 'https://api.twitch.tv/helix/moderation/bans?broadcaster_id=1234&moderator_id=5678' \
-H 'Authorization: Bearer token-oauth' \
-H 'Client-Id: code' \
-H 'Content-Type: application/json' \
-d '{"data": {"user_id":"9876","reason":"no reason"}}'

CODE

arrowgent commented 1 year ago

temporary (moved to) https://github.com/arrowgent/Twitchtv-Bots-List/blob/main/scripts/twitchautoban.sh

testing phase

arrowgent commented 1 year ago

https://github.com/arrowgent/Twitchtv-Bots-List/commit/0ebcfe4a3f5d12a0d93d1a3ffaeaba5bee72e7f9

completed