From b685fa6e1838d884894f5416823fea5ca9bd6d1e Mon Sep 17 00:00:00 2001 From: n Date: Sun, 2 Feb 2025 00:07:53 -0600 Subject: [PATCH] fix indents --- bot.py | 66 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/bot.py b/bot.py index 2cfc661..3307eaa 100644 --- a/bot.py +++ b/bot.py @@ -35,29 +35,29 @@ async def help_message(room, message): return if debugMode == False: message = (f""" - Help - ============================ - A work-in-progress Python rewrite of the original quotes bot, aiming for a mostly complete remake. - {PREFIX} help - show this message - {PREFIX} get - fetch a image from the defined instance - {PREFIX} source - send a link to the source code - {PREFIX} version - show the bot version - {PREFIX} die - kills the bot (only admins can do this!) +Help +============================ +A work-in-progress Python rewrite of the original quotes bot, aiming for a mostly complete remake. +{PREFIX} help - show this message +{PREFIX} get - fetch a image from the defined instance +{PREFIX} source - send a link to the source code +{PREFIX} version - show the bot version +{PREFIX} die - kills the bot (only admins can do this!) """) else: message = (f""" - Help - ============================ - A work-in-progress Python rewrite of the original quotes bot, aiming for a mostly complete remake. - {PREFIX} help - show this message - {PREFIX} get - fetch a image from the defined instance - {PREFIX} source - send a link to the source code - {PREFIX} version - show the bot version - {PREFIX} die - kills the bot (only admins can do this!) +Help +============================ +A work-in-progress Python rewrite of the original quotes bot, aiming for a mostly complete remake. +{PREFIX} help - show this message +{PREFIX} get - fetch a image from the defined instance +{PREFIX} source - send a link to the source code +{PREFIX} version - show the bot version +{PREFIX} die - kills the bot (only admins can do this!) - --- +--- - NOTE: Debug mode is on. Output will be more verbose. +NOTE: Debug mode is on. Output will be more verbose. """) @@ -90,24 +90,24 @@ async def make_choice(room, message): if debugMode == False: created, description, imageid, ocr, score = formatData(quoteData) message1 = (f""" - Created: {created} - Description: {description} - Image ID: {imageid} - OCR (Tesseract): {ocr} - Rating: {score} +Created: {created} +Description: {description} +Image ID: {imageid} +OCR (Tesseract): {ocr} +Rating: {score} """) else: created, description, imageid, ocr, score = formatData(quoteData) message1 = (f""" - Created: {created} - Description: {description} - Image ID: {imageid} - OCR (Tesseract): {ocr} - Rating: {score} +Created: {created} +Description: {description} +Image ID: {imageid} +OCR (Tesseract): {ocr} +Rating: {score} """) message2 = (f""" - Command recived (DEBUG). - (We're supposed to fetch quote number {id} now.) +Command recived (DEBUG). +(We're supposed to fetch quote number {id} now.) """) if debugMode == True: @@ -126,8 +126,8 @@ async def help_message(room, message): return message = (f""" - quotes-bot-python by Nyx Tutt (@n:everypizza.im) - https://git.everypizza.im/n/quotes-bot-python/ +quotes-bot-python by Nyx Tutt (@n:everypizza.im) +https://git.everypizza.im/n/quotes-bot-python/ """) await bot.api.send_text_message(room.room_id, message) @@ -140,7 +140,7 @@ async def help_message(room, message): return message = (f""" - quotes-bot-python version {version} +quotes-bot-python version {version} """) await bot.api.send_text_message(room.room_id, message)