aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shakya Majumdar <[email protected]>2022-03-18 11:55:27 +0530
committerGravatar Shakya Majumdar <[email protected]>2022-03-18 11:55:27 +0530
commitecbed8f022c79a4afacdd6ea0ebb5fddcff5e0fb (patch)
tree01e2ca2f971b8162377d75c2727239435301c9c9
parenttry-except to prevent a TypeError instead of `if isinstance` (diff)
apply decorator on superstarify too
-rw-r--r--bot/exts/moderation/infraction/superstarify.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/exts/moderation/infraction/superstarify.py b/bot/exts/moderation/infraction/superstarify.py
index 3f1bffd76..af676a0de 100644
--- a/bot/exts/moderation/infraction/superstarify.py
+++ b/bot/exts/moderation/infraction/superstarify.py
@@ -11,6 +11,7 @@ from discord.utils import escape_markdown
from bot import constants
from bot.bot import Bot
from bot.converters import Duration, Expiry
+from bot.decorators import ensure_future_timestamp
from bot.exts.moderation.infraction import _utils
from bot.exts.moderation.infraction._scheduler import InfractionScheduler
from bot.log import get_logger
@@ -111,6 +112,7 @@ class Superstarify(InfractionScheduler, Cog):
await self.reapply_infraction(infraction, action)
@command(name="superstarify", aliases=("force_nick", "star", "starify", "superstar"))
+ @ensure_future_timestamp(timestamp_arg=3)
async def superstarify(
self,
ctx: Context,