metalfiiish / ts-gw2-verifyBot

A python bot that will sit in a Teamspeak3 channel and take commands. It's main purpose was to verify server players for Guild Wars 2 and automatically authenticate and give them the proper Group for permissions to speak/etc in Teamspeak.
MIT License
7 stars 7 forks source link

Add fallback to English locale if no value is given in the config #9

Closed ogrady closed 5 years ago

ogrady commented 5 years ago

The localisation feature requires an additional entry in the config, as has been stated in the last commit. To not break existing configs and retain backwards-compatibility, this commit selects English as default locale if no entry is put in the config and notifies the user through the logs about the missing entry.

ogrady commented 5 years ago

Just a small addition to the localisation feature that maintains backwards compatibility for users who don't have the a setting for their preferred locale in their config.

ogrady commented 5 years ago

The two repositories have diverged too much at this point to make this a sensible pull request.