Ver código fonte

Improve help for !langcode.

tags/v0.2
Ben Kurtovic 11 anos atrás
pai
commit
af9f6a56fb
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      earwigbot/commands/langcode.py

+ 3
- 3
earwigbot/commands/langcode.py Ver arquivo

@@ -23,14 +23,14 @@
from earwigbot.commands import Command

class Langcode(Command):
"""Convert a language code into its name and a list of WMF sites in that
language, or a name into its code."""
"""Convert a language code into its name (or vice versa), and give a list
of WMF sites in that language."""
name = "langcode"
commands = ["langcode", "lang", "language"]

def process(self, data):
if not data.args:
self.reply(data, "Please specify a language code.")
self.reply(data, "Please specify a language code or name.")
return

code, lcase = data.args[0], data.args[0].lower()


Carregando…
Cancelar
Salvar