Skip to content

Re-write TeX message to make it clear when the action was taken by automod #828

Description

@MattyTheHacker

Should be doable - but the message should make clear and differentiate between a bot action and automod. I think I remember there was a reason we didn't do this in the first place but opening an issue just so it isn't forgotten.

try:
confirmation_message: discord.Message = await confirmation_message_channel.send(
content=(
f"""Hi {
applied_action_user.display_name
if not applied_action_user.bot and applied_action_user != strike_user
else committee_role.mention
}, """
f"""I just noticed that {
"you"
if not applied_action_user.bot
else f"one of your other bots (namely {applied_action_user.mention})"
} {FORMATTED_MODERATION_ACTIONS[action]} {strike_user.mention}. """
"Because this moderation action was done manually "
"(rather than using my `/strike` command), I could not automatically "
f"keep track of the correct moderation action to apply. "
f"Would you like me to increase {strike_user.mention}'s strikes "
f"from {member_strikes.strikes} to {member_strikes.strikes + 1} "
"and send them the moderation alert message?"
),
view=ConfirmManualModerationView(),
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions