You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2021. It is now read-only.
@commands.group(name="warn", invoke_without_command=True, help="Warns one or more members in your server.")
50
50
@checks.module_has_initialised(MODULE_NAME)
51
51
@checks.author_can_warn()
52
52
asyncdefwarn_group(
@@ -119,7 +119,7 @@ async def warn_group(
119
119
f"{target.mention}, you have been warned for {warn_type} for the {string.ordinal(wc)} of {max_strikesor3} times. You now have {points} of your allowed {max_pointsor12} points."
awaitctx.send(f'{self.bot.tick} The warn type "{warn_type}" has been created, and is worth {points} points.')
246
250
247
-
@warntype_group.command(name="edit")
251
+
@warntype_group.command(
252
+
name="edit",
253
+
help="Edits an existing warn type. Existing warn records are updated to reflect the changes, but action is not retroactively taken based on point values.",
0 commit comments