Skip to content

Commit

Permalink
freenode -> Libera
Browse files Browse the repository at this point in the history
  • Loading branch information
qtlunya committed May 19, 2021
1 parent e5bf310 commit 3d7aab4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Werewolf is a popular party game, similar to and inspired by [mafia][mafia]. In

### Where can I play this game?

We run an instance of the bot in the [##werewolf channel][game_webchat] on freenode. 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][wikinet] of our [official wiki][wiki]. Keep in mind that, just because someone appears online, does not mean they are around or available to play.
We run an instance of the bot in the [##werewolf channel][game_webchat] 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][wikinet] of our [official wiki][wiki]. Keep in mind that, just because someone appears online, does not mean they are around or available to play.

## For players

Expand Down Expand Up @@ -56,7 +56,7 @@ OWNERS_ACCOUNTS: This is the account of the owner of the bot. This also supports

### I entered everything correctly, but the bot doesn't work in some way. What can I do?

We can help you with these kinds of issues in our [development channel, #lykos][dev_webchat] on freenode. 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.
We can help you with these kinds of issues in our [development channel, #lykos][dev_webchat] 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.

### The bot works fine, but there's just something I'd like to tweak. Is that possible?

Expand Down Expand Up @@ -114,11 +114,11 @@ Special thanks to LaneAtomic for their work on the messages system, which made c

[mafia]: https://en.wikipedia.org/wiki/Mafia_(party_game)
[license]: https://github.com/lykoss/lykos/blob/master/LICENSE
[game_webchat]: http://webchat.freenode.net/?channels=##werewolf
[game_webchat]: https://kiwiirc.com/client/irc.libera.chat/##werewolf
[wikinet]: https://werewolf.chat/Networks
[wiki]: https://werewolf.chat/Main_Page
[pydownload]: https://www.python.org/downloads/
[git]: https://git-scm.com/downloads
[dev_webchat]: http://webchat.freenode.net/?channels=#lykos
[dev_webchat]: https://kiwiirc.com/client/irc.libera.chat/#lykos
[new_issue]: https://github.com/lykoss/lykos/issues/new
[events]: https://werewolf.chat/Events
10 changes: 5 additions & 5 deletions botconfig.py.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HOST = "chat.freenode.net"
HOST = "irc.libera.net"
PORT = 6697
NICK = "mywolfbot"
IDENT = NICK
Expand All @@ -13,10 +13,10 @@ SSL_VERIFY = True
# you may set this. Otherwise, we validate certificates as long as they chain up to a trusted CA.
# If set, CA validation is not considered, and we validate based on the fingerprint. If the server
# is using self-signed certificates, you will want to make use of SSL_CERTFP.
# An example below is for freenode; note that certificate fingerprints can and do change over time,
# An example below is for Libera; note that certificate fingerprints can and do change over time,
# so manual adjustment may be required if you make use of this setting.
# Example of how to obtain a fingerprint:
# openssl s_client -connect chat.freenode.net:6697 < /dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -noout -in /dev/stdin
# openssl s_client -connect irc.libera.net:6697 < /dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -noout -in /dev/stdin
# The comma at the end is required if there is only one fingerprint.
#SSL_CERTFP = ("51:F4:3A:29:80:49:10:F0:23:5C:5E:F4:3B:0C:0A:6E:D9:42:BF:A1:60:89:4A:28:38:AD:CF:F7:DE:49:B4:16",)

Expand All @@ -39,7 +39,7 @@ SERVER_PASS = None
OWNERS = ("unaffiliated/wolfbot_admin1",) # The comma is required at the end if there is only one owner.
OWNERS_ACCOUNTS = ("1owner_acc",)

#RULES = "https://werewolf.chat/Freenode:Rules"
#RULES = "https://werewolf.chat/Libera:Rules"

OWNERS_ONLY_COMMANDS = [] # Commands that should only be allowed for owners, regardless of their original permissions

Expand Down Expand Up @@ -71,7 +71,7 @@ USE_UTC = True # If True, logs will use the UTC time, else local time.
TIMESTAMP_FORMAT = "[%Y-%m-%d %H:%M:%S{tzoffset}]"


# The defaults used by the bot should work on freenode and other networks using Atheme.
# The defaults used by the bot should work on Libera and other networks using Atheme.
#
# An example configuration for Undernet is provided below; if you're running the bot on Undernet,
# you can simply uncomment the following lines. For other networks, you can set the appropriate
Expand Down
2 changes: 1 addition & 1 deletion oyoyo/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def connect(self):
""" initiates the connection to the server set in self.host:self.port
and returns a generator object.
>>> cli = IRCClient(my_handler, host="irc.freenode.net", port=6667)
>>> cli = IRCClient(my_handler, host="irc.libera.net", port=6667)
>>> g = cli.connect()
>>> while 1:
... next(g)
Expand Down
2 changes: 1 addition & 1 deletion src/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ def _upgrade(oldversion):
print("Upgrades complete!", file=sys.stderr)
except sqlite3.Error:
print("An error has occurred while upgrading the database schema.",
"Please report this issue to #lykos on irc.freenode.net.",
"Please report this issue to #lykos on irc.libera.net.",
"Include all of the following details in your report:",
sep="\n", file=sys.stderr)
if have_backup:
Expand Down
2 changes: 1 addition & 1 deletion wolfbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"If you don't have pip and don't know how to install it, follow this link:",
"https://pip.pypa.io/en/stable/installing/", "",
"If you need any further help with setting up and/or running the bot,",
" we will be happy to help you in #lykos on irc.freenode.net", "",
" we will be happy to help you in #lykos on irc.libera.net", "",
"- The lykos developers"]))
sys.exit(1)

Expand Down

0 comments on commit 3d7aab4

Please sign in to comment.