Just a simple twitch chatbot that I'm writing for learning purposes.
It has following basic commands:
help
: shows all available commands.setmessage
:- Usage: !setmessage <command> <message> - updates
command
withmessage
, ifmessage
is empty, deletes command.
- Usage: !setmessage <command> <message> - updates
newannouncement
:- Usage: !newannouncement <id> <repetition_interval> <message> - updates
id
-announcement withmessage
. Announcement repeats everyrepetition_interval
minutes.id
can be any combination of any symbols.
- Usage: !newannouncement <id> <repetition_interval> <message> - updates
stopannouncement
:- Usage: !stopannouncement <id> - stops announcement
id
.
- Usage: !stopannouncement <id> - stops announcement
title
:- Usage: !title <new title> - sets stream title to
new title
.
- Usage: !title <new title> - sets stream title to
Developer can predefine some commands right in code.
Commands created with setmessage
stored in directory json_commands
in files named <channel>_commands.json
.
Announcements stored in directory json_announcements
in files named <channel>_announcements.json
.