feat: standardize bot logging method
Switched to using the bot's centralized logging mechanism for bot info commands, enhancing consistency across the application. This change ensures that all log messages go through the same process, potentially simplifying future debugging and logging enhancements.
This commit is contained in:
parent
19aa91cf48
commit
d0ab53b3e0
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ from nio.rooms import MatrixRoom
|
||||||
|
|
||||||
|
|
||||||
async def command_botinfo(room: MatrixRoom, event: RoomMessageText, bot):
|
async def command_botinfo(room: MatrixRoom, event: RoomMessageText, bot):
|
||||||
logging("Showing bot info...")
|
bot.logger.log("Showing bot info...")
|
||||||
|
|
||||||
body = f"""GPT Info:
|
body = f"""GPT Info:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue