Ver a proveniência

Improve help for !langcode.

tags/v0.2
Ben Kurtovic há 11 anos
ascendente
cometimento
af9f6a56fb
1 ficheiros alterados com 3 adições e 3 eliminações
  1. +3
    -3
      earwigbot/commands/langcode.py

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

@@ -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
Guardar