|
@@ -52,9 +52,11 @@ class Langcode(Command): |
|
|
self.reply(data, msg) |
|
|
self.reply(data, msg) |
|
|
return |
|
|
return |
|
|
elif name.lower() == lcase or localname.lower() == lcase: |
|
|
elif name.lower() == lcase or localname.lower() == lcase: |
|
|
|
|
|
if name != localname: |
|
|
|
|
|
name += " ({0})".format(localname) |
|
|
sites = ", ".join([s["url"] for s in site["site"]]) |
|
|
sites = ", ".join([s["url"] for s in site["site"]]) |
|
|
msg = "\x0302{0}\x0F is {1} ({2})" |
|
|
|
|
|
self.reply(data, msg.format(code, site["code"], sites)) |
|
|
|
|
|
|
|
|
msg = "{0} is \x0302{1}\x0F ({2})" |
|
|
|
|
|
self.reply(data, msg.format(name, site["code"], sites)) |
|
|
return |
|
|
return |
|
|
|
|
|
|
|
|
self.reply(data, "Language \x0302{0}\x0F not found.".format(code)) |
|
|
self.reply(data, "Language \x0302{0}\x0F not found.".format(code)) |