Merge pull request 'Fix case sensitivity for bot username' (#40) from fix_username_case_sensitivity into dev

Reviewed-on: #40
This commit is contained in:
waifu 2025-05-31 22:49:43 -03:00
commit 6ea5529ef5

View file

@ -23,11 +23,11 @@ config = configparser.ConfigParser()
config.read(get_config_file())
# Username for the bot
USER = config['credentials']['User']
USER = config['credentials']['User'].lower()
# API key for the bot
KEY = config['credentials']['Token']
# Bot's Misskey instance URL
INSTANCE = config['credentials']['Instance']
INSTANCE = config['credentials']['Instance'].lower()
# TODO: move this to db
# Fedi handles in the traditional 'user@domain.tld' style, allows these users