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:
commit
6ea5529ef5
1 changed files with 2 additions and 2 deletions
|
@ -23,11 +23,11 @@ config = configparser.ConfigParser()
|
||||||
config.read(get_config_file())
|
config.read(get_config_file())
|
||||||
|
|
||||||
# Username for the bot
|
# Username for the bot
|
||||||
USER = config['credentials']['User']
|
USER = config['credentials']['User'].lower()
|
||||||
# API key for the bot
|
# API key for the bot
|
||||||
KEY = config['credentials']['Token']
|
KEY = config['credentials']['Token']
|
||||||
# Bot's Misskey instance URL
|
# Bot's Misskey instance URL
|
||||||
INSTANCE = config['credentials']['Instance']
|
INSTANCE = config['credentials']['Instance'].lower()
|
||||||
|
|
||||||
# TODO: move this to db
|
# TODO: move this to db
|
||||||
# Fedi handles in the traditional 'user@domain.tld' style, allows these users
|
# Fedi handles in the traditional 'user@domain.tld' style, allows these users
|
||||||
|
|
Loading…
Add table
Reference in a new issue