Open-Source means that the code is available for free for everyone to view, download, use, and modify. We however have a License, which requires that you include it in all derivative works and other works which include lykos code.
Werewolf is a popular party game, similar to and inspired by mafia. In Werewolf, several players take roles as either wolves or their allies, or as villagers - some with special powers - who try to figure out who the wolves are and eliminate them before it is too late. There may also be some other players who play towards their own goals, which may or may not help any side.
We run an instance of the bot in the #werewolf channel on Libera. Off-topic discussion happens in #werewolf-meta on the same network, and channel operators can be reached in #werewolf-ops. There are also other networks listed in the Networks page of our official wiki. Keep in mind that, just because someone appears online, does not mean they are around or available to play.
You can join a new game with !join
. There must be at least 6 players to be able to start a game. When the game is started, the bot will message you privately telling you your role, what command(s) you have access to as that role, and what your goal is. You may then send commands privately to the bot; for example see person
. Some roles require you to use the command during the day, and sometimes in the channel. Make sure to pay attention to the message!
If you're a wolf or other wolf-aligned role, you probably have access to the wolfchat. To use it, simply message the bot, and your message will be relayed to all other wolfchat players. You will also get their messages.
The bot contains over 50 roles, so it can take a while to get used to all of them. Practice makes perfect!
Lykos has a host of commands which can be used for various purposes. You can view them on our wiki.
The bot requires some setup before it can be up and running. Here are the required steps:
- You need to have Python 3.7 or above installed on your machine or the server on which the bot will be running. Steps on how to install Python on your machine will not be covered here, although if you are using Windows, then you can simply download and install the official Python binaries.
- If building Python from source, you will need to include SQLite3 as part of the building process, as the bot uses it.
- To enable the ability to update the bot with the changes that we bring to it, you will need to download and install Git.
- If your network supports it, create an account for your bot and give it automatic op upon joining your channel via your channel management service (typically the
+O
flag if usingChanServ
). - Copy the file
botconfig.example.yml
tobotconfig.yml
(make sure to make a copy and not simply rename), and open it with your favourite text editor. The file is extensively commented with examples and additional info. Modify the sections below. If a setting is not present here, it means the default is fine for most cases.- transports: update to point to your IRC network
- access: point this to your account so you can control the bot over IRC
- logging: see the comments and update accordingly. For a test bot, you could log everything to stdout (as shown in the first group). If you choose to use transport, make sure you pick a channel and check the comments for more info
We can help you with these kinds of issues in our development channel, #lykos on Libera. Ask directly in the channel, and wait for someone to answer. Please do not message people directly, as that prevents other people from helping as well. People who are voiced (typically a '+' before their name in the user list, or a blue circle for Hexchat) are developers and are more likely to be able to help.
It absolutely is! For additional gameplay settings, see the wiki's Configuration page. You can copy and paste these settings into your botconfig.yml
file, and change them as you wish. Time-related settings are in seconds. You will need to restart the bot for the changes to take effect.
If there is something that you would like to tweak but can't find the setting for it, you may ask in #lykos. It may be hidden somewhere, or may not exist. We are usually willing to add new settings to allow other bot owners to customize their bot to the fullest. You may also open an issue on our bug tracker.
Yes! You can create your own roles by putting them inside the roles
folder. There is a base "skeleton" file src/roles/_skel.py
that you can copy and paste to get some basic stuff in. You will need to define your own commands (if applicable) and register events. If you need assistance with this, we'll be happy to help you.
That's also possible! See the existing gamemodes in src/gamemodes/
and the community modes in our community-modes repository for examples. Put custom modes into the gamemodes/
directory (not src/gamemodes/
). Then, copy gamemodes/__init__.py.example
to gamemodes/__init__.py
so your bot loads them.
A list of admin commands is available on our wiki.
Not right now. However, Lykos is a community effort, and so we encourage you to submit your own translation! We invite you to communicate with us for questions on how to proceed.
Let us know! We will do the best we can to accomodate third-party roles and modes, and make sure they work fine!
You can run the bot by doing ./wolfbot.py
on Linux, or simply double-clicking the wolfbot.py
file on Windows.
This bot wouldn't be what it is today without the contribution of many people. Here are some of those people:
jcao219: Original programmer
woffle / Skizzerz: Main developer
Vgr: Main developer
jacob1: Developer
nyuszika7h: Developer
Iciloo: Testing
Everyone who contributed to the code, no matter how small.
Everyone who opened issues in our bug tracker.
And, of course, to all the bot owners and players who kept this project alive all this time!
Special thanks to LaneAtomic for their work on the messages system, which made coding future features a lot easier.