A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

26 Zeilen
831 B

  1. # -*- coding: utf-8 -*-
  2. # EarwigBot Configuration File
  3. # This file contains information that the bot uses to connect to IRC.
  4. # our main (front-end) server's hostname and port
  5. HOST = "irc.freenode.net"
  6. PORT = 6667
  7. # our watcher server's hostname, port, and RC channel
  8. WATCHER_HOST = "irc.wikimedia.org"
  9. WATCHER_PORT = 6667
  10. WATCHER_CHAN = "#en.wikipedia"
  11. # our nick, ident, and real name, used on both servers
  12. NICK = "EarwigBot"
  13. IDENT = "earwigbot"
  14. REALNAME = "[[w:en:User:EarwigBot]]"
  15. # channels to join on main server's startup
  16. CHANS = ["##earwigbot", "##earwig", "#wikipedia-en-afc"]
  17. # hardcoded hostnames of users with certain permissions
  18. OWNERS = ["wikipedia/The-Earwig"] # can use owner-only commands (!restart and !git)
  19. ADMINS = ["wikipedia/The-Earwig", "wikipedia/LeonardBloom"] # can use high-risk commands, e.g. !op