A repo for the GameGrammar Twitch bot and other projects down the line.
- Clone the repo
pip install -r requirements.txt
- Copy the example config file with
cp config_example.py config.py
- Set up your IRC connection data in
config.py
- Set up the list of superadmins in
config.py
- Run the bot with
python yvesbot.py
That's it! :)
A command for testing which prints out the requesting user's name.
Returns the jisho.org entires for <term>
. Example: !j 関係
.
This is limited to three meanings.
This command can also take a number at the end. Example: !j 関係 2
.
This would return the second result for “関係”.
Will show the list of all available tags.
Adds a tag to the database. A tag is kind of command, triggered when a user writes !<tag_name>
,
causing the bot to reply with tag_response
. An example:
!add_tag hello Hi guys!
> Tag hello added.
!hello
> Hi guys!
Added commands are stored persistently in the database and come into effect immediately. This command is restricted to mods.
Analogously to !add_tag
, this command removes a tag from the database, which comes into
effect immediately. This command is restricted to mods.
If tag_name
is a tag in the database, using it as a command will cause the bot to reply with
that tag's respective tag_response
. See !add_tag
.
Shows a list of all mods.
Adds a user to the mods table. This command is restricted to superadmins.
Removes a user from the mods table. This command is restricted to restricted to superadmins.
The goal is to eventually have a bunch of features for the twitch bot and functionality that would carry over to discord as well. For now, I think the focus should be to replace the functionality of the streamlabs bot bit by bit as to not needing to rely on it anymore.
- Create discord bot and link it to twitch chat bot
- Create a shoutout command
- Create an uptime command
GrammarBot will make your life better!
- Clone the repo
pip install -r requirements.txt
- Copy the example config file with
cp config_example.py config.py
- Set up your Discord connection data in
config.py
- Set up the admin in
config.py
- Run the bot with
python yvesbot.py
Use the help command to get information about the available commands.
This bot is meant to be used for all kinds of different thigns in the future. Currently, it supports some very basic things.
- Make the bot post automatically when the stream goes live.
- Update the help command: sort entries in a relevant way and make it context sensitive
- Add webhook listener