Remove bold username
This commit is contained in:
1
main.py
1
main.py
@ -160,6 +160,7 @@ async def on_message(message: discord.Message) -> None:
|
||||
# Remove LoviBot: from the response
|
||||
if response:
|
||||
response = response.removeprefix("LoviBot:").strip()
|
||||
response = response.removeprefix("**LoviBot:**").strip()
|
||||
|
||||
if response:
|
||||
logger.info("Responding to message: %s with: %s", message.content, response)
|
||||
|
Reference in New Issue
Block a user