Skip to content

Commit

Permalink
Merge pull request #197 from python-discord/improve-friendliness
Browse files Browse the repository at this point in the history
Improve entropy in system information reporting
  • Loading branch information
jchristgit authored May 31, 2024
2 parents 2517e7f + 6d29811 commit f1fddd3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion arthur/exts/systems/system_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit f1fddd3

Please sign in to comment.