From 9ee44932f6e9afeb0e5eb4bd01f3bc88fdb00790 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 24 May 2021 01:01:30 -0400 Subject: [PATCH] Rename some defaults for Libera --- earwigbot/config/script.py | 12 ++++++------ earwigbot/irc/connection.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/earwigbot/config/script.py b/earwigbot/config/script.py index 4a9ffc6..5533303 100644 --- a/earwigbot/config/script.py +++ b/earwigbot/config/script.py @@ -184,7 +184,7 @@ class ConfigScript: self._print("""The bot contains three separate components that can run independently of each other.""") self._print("""- The IRC front-end runs on a normal IRC server, like - freenode, and expects users to interact with it through + Libera, and expects users to interact with it through commands.""") self._print("""- The IRC watcher runs on a wiki recent-changes server, like irc.wikimedia.org, and listens for edits. Users @@ -313,12 +313,12 @@ class ConfigScript: if self.data["components"]["irc_frontend"]: print() frontend = self.data["irc"]["frontend"] = OrderedDict() - msg = "Hostname of the frontend's IRC server, without 'irc://':" - frontend["host"] = self._ask(msg, "irc.freenode.net") + frontend["host"] = self._ask( + "Hostname of the frontend's IRC server:", "irc.libera.chat") frontend["port"] = self._ask("Frontend port:", 6667) frontend["nick"] = self._ask("Frontend bot's nickname:") - frontend["ident"] = self._ask("Frontend bot's ident:", - frontend["nick"].lower()) + frontend["ident"] = self._ask( + "Frontend bot's ident:", frontend["nick"].lower()) question = "Frontend bot's real name (gecos):" frontend["realname"] = self._ask(question, "EarwigBot") if self._ask_bool("Should the bot identify to NickServ?"): @@ -336,7 +336,7 @@ class ConfigScript: Hostname is the most secure option since it cannot be easily spoofed. If you have a cloak, this will probably look like 'wikipedia/Username' or - 'unaffiliated/nickname'.""") + 'user/nickname'.""") host = self._ask("Your hostname on the frontend:", require=False) if host: permdb = self.config._permissions diff --git a/earwigbot/irc/connection.py b/earwigbot/irc/connection.py index 723ca83..41b9d69 100644 --- a/earwigbot/irc/connection.py +++ b/earwigbot/irc/connection.py @@ -160,7 +160,7 @@ class IRCConnection: @property def host(self): - """The hostname of the IRC server, like ``"irc.freenode.net"``.""" + """The hostname of the IRC server, like ``"irc.libera.chat"``.""" return self._host @property