Commands - Pyroan/Lingo GitHub Wiki
Commands can be invoked using either !
or L!
as a prefix. L!
is only necessary if another bot on your server uses a command with the same name.
Each command below lists a usage. The format is described here:
-
[]
refers to words that must be used as-is. -
|
refers to different options. For exampleL!lang [add|remove]
means you can either type "add" or "remove" afterlang
. -
<>
refers to words you must specify. For example,L!lookup <query>
means you must add a query afterlookup
. -
*
means a field is optional. For example,L!roll *<size>
means you can either enter a size for yourself or use the default one.
Usage: L!lang [add|remove] [fluent|conversational|learning] <language name|ISO639 code>
Aliases: language
Adds or removes your role for the given language and proficiency. If the role doesn't already exist on the server, Lingo will create a new one. For more information on language roles, please see Language Roles
Usage: L!langs *<user>
Aliases: languages
Prints languages the given user has added to their roles, as well as their proficiencies. If no user is specified, prints languages of the user who invoked the command.
Usage: L!nationality <country>
Aliases: country
Assigns your nationality role. country
can be the country's name in either it's official language or English, or it may be the demonym itself. Lingo does not add new nationality roles to the server. If the one requested doesn't exist, it must be created by a Moderator so it can be given a customized color. For more information on nationality roles, please see Nationality Roles
Known bugs: Lingo sometimes gets confused and forgets to remove your original nationality role if you change it. If this happens, running the command again seems to do the trick.
Usage: L!verify
An alternative to L!nationality
for those who want to keep their country of origin private, but still like having fancy roles. Adds a simple "Verified" role, if one is available on the server.
Usage: L!lookup <query>
Aliases: iso
, search
, whatis
Searches Lingo's brain for languages that contain query
. Exact matches are printed first, so if you see an ISO code you don't recognize, this is the way to find it!
Usage: L!list [nationalities|languages]
Outputs a table containing a list of all the countries or languages Lingo knows about. Lingo doesn't know about every single language or country that exists, so if a needed one is missing, please submit an issue requesting it!
Usage: L!roll *<size>
Rolls an size
-sided die, or a d20 if size
isn't specified.
These commands are only usable by server members with the "Moderator" role.
Usage: L!update [nationalities|languages|all]
Updates the nationalities table, the languages table, or both! Lets you add new countries or languages to the list without having to restart Lingo.