From 6d29811cc6c73bc24df1bef53bc467c29604a461 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Fri, 31 May 2024 19:49:31 +0200 Subject: [PATCH] Improve entropy in system information reporting --- arthur/exts/systems/system_information.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arthur/exts/systems/system_information.py b/arthur/exts/systems/system_information.py index 4ccd73f..eafde8d 100644 --- a/arthur/exts/systems/system_information.py +++ b/arthur/exts/systems/system_information.py @@ -16,6 +16,12 @@ THRESHOLD = 0.01 MIN_MINUTES = 30 BLOG_ABOUT_IT_THRESHOLD = 1000 +CORPORATE_FRIENDLY_SMILEYS = ( + ":smile:", + ":slight_smile:", + ":grin:", + ":blush:", +) class SystemInformation(Cog): @@ -70,7 +76,7 @@ async def on_message(self, msg: Message) -> None: comment = lib9front.generate_blog_comment(blogcom).strip() - await msg.reply(f"{comment} :smile:") + await msg.reply(f"{comment} {random.choice(CORPORATE_FRIENDLY_SMILEYS)}") self.last_sent = datetime.utcnow()