A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

irc_config.py 516 B

12345678910111213141516171819202122232425
  1. # -*- coding: utf-8 -*-
  2. # EarwigBot Configuration File
  3. # This file contains information that the bot uses to connect to IRC.
  4. # our server's hostname
  5. HOST = "irc.freenode.net"
  6. # our server's port
  7. PORT = 6667
  8. # our nick
  9. NICK = "EarwigBot"
  10. # our ident
  11. IDENT = "earwigbot"
  12. # our real name
  13. REALNAME = "[[w:en:User:EarwigBot]]"
  14. # channel to join on startup
  15. CHANS = ["##earwigbot", "##earwig", "#wikipedia-en-afc"]
  16. # hostnames of users who can update/restart the bot with !update
  17. ADMINS = ["wikipedia/The-Earwig"]