Jump to content

Tool:Wmopbot

From Wikitech
Toolforge tools
wmopbot
Website https://wmopbot.toolforge.org/ (restricted)
Description IRC bot to help Wikimedia channels operators
Keywords irc, python
Author(s) Danilo
Maintainer(s) Danilo (View all)
Source code gitlab:toolforge-repos/wmopbot
License GNU General Public License 3.0
Issues Call danilo in IRC

Wmopbot is a IRC bot that helps operators of Wikimedia IRC channels in Libera watch the channels, it warns in #wikimedia-ops about problems in channels like spammers and trolls. Wmopbot also manage the cloak requests queue.

The help page is available only for IRC operators in https://wmopbot.toolforge.org/help.

Restart

Wmopbot has a auto restart function, sometimes it delays up to 30 minutes to auto restart, if that doesn't happen it can be restart manually by a maintainer or an user with root access in toolforge.

If the bot is online and for some reason need to be restarted, anyone who is op in #wikimedia-opsconnect (voided users there) can use the command !restart there or in #wikimedia-opbotconnect to make the bot restart, that make the bot quit and restart the container (not the pod).

To restart the bot pod manually, delete the pod with the "name=ircbot" label.

kubectl delete pod --selector='name=ircbot'

The Deployment will restart the pod.