aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/systems/system_information.py
diff options
context:
space:
mode:
authorGravatar jchristgit <[email protected]>2024-05-31 19:51:06 +0200
committerGravatar GitHub <[email protected]>2024-05-31 19:51:06 +0200
commitf1fddd3dbb99dcb3928db07eef6f1231b873bb4a (patch)
tree0cf8e2ef99c4de0f2d311f176787153395f5e435 /arthur/exts/systems/system_information.py
parentFix timedelta comparison (diff)
parentImprove entropy in system information reporting (diff)
Merge pull request #197 from python-discord/improve-friendliness
Improve entropy in system information reporting
Diffstat (limited to 'arthur/exts/systems/system_information.py')
-rw-r--r--arthur/exts/systems/system_information.py8
1 files changed, 7 insertions, 1 deletions
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 @@ BLOGCOM = "https://git.9front.org/plan9front/plan9front/HEAD/lib/blogcom/raw"
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 @@ class SystemInformation(Cog):
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()