From d6e323bf8d52bc8ad2bd494a65ce8d5058e7af27 Mon Sep 17 00:00:00 2001 From: Mauricio Zanetti Filho Date: Fri, 17 Sep 2021 11:21:23 -0300 Subject: [PATCH 1/3] Update cust_filters.py --- makibot/modules/cust_filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makibot/modules/cust_filters.py b/makibot/modules/cust_filters.py index 8ef09ff..a940648 100644 --- a/makibot/modules/cust_filters.py +++ b/makibot/modules/cust_filters.py @@ -179,14 +179,14 @@ def reply_filter(bot: Bot, update: Update): if excp.message == "Unsupported url protocol": message.reply_text("You seem to be trying to use an unsupported url protocol. Telegram " "doesn't support buttons for some protocols, such as tg://. Please try " - "again, or ask in @MarieSupport for help.") + "again, or ask in @MakiSwap for help.") elif excp.message == "Reply message not found": bot.send_message(chat.id, filt.reply, parse_mode=ParseMode.MARKDOWN, disable_web_page_preview=True, reply_markup=keyboard) else: message.reply_text("This note could not be sent, as it is incorrectly formatted. Ask in " - "@MarieSupport if you can't figure out why!") + "@MakiSwap if you can't figure out why!") LOGGER.warning("Message %s could not be parsed", str(filt.reply)) LOGGER.exception("Could not parse filter %s in chat %s", str(filt.keyword), str(chat.id)) From e38f9b3193de1e5c69dee3820af7a80660096147 Mon Sep 17 00:00:00 2001 From: Mauricio Zanetti Filho Date: Fri, 17 Sep 2021 11:57:56 -0300 Subject: [PATCH 2/3] Update misc.py --- makibot/modules/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makibot/modules/misc.py b/makibot/modules/misc.py index a6b0946..b012e32 100644 --- a/makibot/modules/misc.py +++ b/makibot/modules/misc.py @@ -330,7 +330,7 @@ def gdpr(bot: Bot, update: Update): mod.__gdpr__(update.effective_user.id) update.effective_message.reply_text("Your personal data has been deleted.\n\nNote that this will not unban " - "you from any chats, as that is telegram data, not Marie data. " + "you from any chats, as that is telegram data, not MakiBot data. " "Flooding, warns, and gbans are also preserved, as of " "[this](https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/right-to-erasure/), " "which clearly states that the right to erasure does not apply " From 05faf8ef7756e88e8fae86014a75a969640c7ae0 Mon Sep 17 00:00:00 2001 From: Mauricio Zanetti Filho Date: Fri, 17 Sep 2021 12:26:24 -0300 Subject: [PATCH 3/3] Update command_list.py --- makibot/plugins/command_list.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makibot/plugins/command_list.py b/makibot/plugins/command_list.py index 4b9336a..1260a2d 100644 --- a/makibot/plugins/command_list.py +++ b/makibot/plugins/command_list.py @@ -16,5 +16,7 @@ async def install(event): o = stdout.decode() _o = o.split("\n") o = "\n".join(_o) - OUTPUT = f"**LIST OF PLUGINS IN HardcoreUserbot 🔍:**\n{o}\n\n**TIP:** __If you want to know the commands for a plugin, do:-__ \n `.help ` **without the < > brackets.**\n__All plugins might not work directly.__" + OUTPUT = f"**LIST OF PLUGINS IN HardcoreUserbot 🔍:**\n{o}\n + \n**TIP:** __If you want to know the commands for a plugin, do:-__ + \n `.help ` **without the < > brackets.**\n__All plugins might not work directly.__" await event.edit(OUTPUT)