diff options
| author | 2024-05-31 19:51:06 +0200 | |
|---|---|---|
| committer | 2024-05-31 19:51:06 +0200 | |
| commit | f1fddd3dbb99dcb3928db07eef6f1231b873bb4a (patch) | |
| tree | 0cf8e2ef99c4de0f2d311f176787153395f5e435 /arthur/exts/systems/system_information.py | |
| parent | Fix timedelta comparison (diff) | |
| parent | Improve 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.py | 8 |
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() |