This will cause a list index out of range exception if triggered with only `!trans` I suggest that the file is restructured so that everything is under the `if len(message) > 1:` statement. It should also be checked that there is actually a `nonTranslated` message present otherwise the function will return: `"NO QUERY SPECIFIED. EXAMPLE REQUEST: GET?Q=HELLO&LANGPAIR=EN|IT"` (e.g. with !trans de)