Project no longer in active development since they closed down Wikia chats.
A chat bot/logger for Wikia Chats built on Python 2.7
This project is heavily influenced by chatbot-rb from sactage and uses a modified version of hairr's chatbot module as the client.
- Install Python 2.7.
- Install the requests module (
[sudo] pip install requests
). - Create a
config.json
file (useconfig.sample.json
as a reference). - Run vicbot.py (
[python] vicbot.py
).
For the YouTube video information module to work properly, you must have a Public API access key from a Google project. You can create one in https://developers.google.com. After getting the key, add it to your config.json file under the key "youtube-key".
Command | Function |
---|---|
!hon |
Turns the !hello command on. |
!hoff |
Turns the !hello command off. |
!yton |
Turns YouTube video information on. |
!ytoff |
Turns YouTube video information off. |
!lon |
Turns logging on. |
!loff |
Turns logging off. Updates logs before shutting off. |
!seenon |
Turns the !seen command on. |
!seenoff |
Turns the !seen command off. |
!twon |
Turns Twitter tweet information on. |
!twoff |
Turns Twitter tweet information off. |
!tellon |
Turns the !tell command on. |
!telloff |
Turns the !tell command off. |
!hello [message] |
Says "Hello". If followed by message , will say "Hello, message ". |
!bye |
Says "Goodbye!". |
!quit |
Makes the bot exit the chat. |
!updated |
Gives information about how long ago were the logs updated and how many lines are in disk. |
!logs |
Links the logs page. |
!dumpbuffer |
Clears the logfile. |
!seen user |
Gives the last time the bot "saw" the user . |
!kick user |
Kicks user from chat. |
!updatelogs |
Updates the logs. |
!gauss x, y, z |
Gives the sum of all the numbers from x to y with a common difference of z . |
!ignore user |
Makes the bot ignore any commands used by user . |
!unignore user |
Makes the bot accept any command used by user . |
!tell user message |
Sends a message to user the next time the bot sees them. |
`!rps [rock | paper |