From eaa630890635e1a9770b2712ce2e610dcc48b776 Mon Sep 17 00:00:00 2001
From: VD15 <valkyriedev15@gmail.com>
Date: Sat, 31 May 2025 22:54:04 +0100
Subject: [PATCH] Fix case sensitivity for bot username

---
 bot/config.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bot/config.py b/bot/config.py
index 16b2f1f..89cffac 100644
--- a/bot/config.py
+++ b/bot/config.py
@@ -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
-- 
2.39.2