We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35289c5 commit 6f43318Copy full SHA for 6f43318
1 file changed
bot/exts/moderation/modpings.py
@@ -259,6 +259,16 @@ async def modpings_schedule_delete(self, ctx: Context) -> None:
259
await self.handle_moderator_state(ctx.author)
260
await ctx.reply(f"{Emojis.ok_hand} Deleted your modpings schedule.")
261
262
+ @modpings_group.command(name="sync")
263
+ async def sync_command(self, ctx: Context) -> None:
264
+ """
265
+ Attempt to re-sync your pingable moderators role with the stored state.
266
+
267
+ If there is a reoccurring problem, please report it.
268
269
+ await self.handle_moderator_state(ctx.author)
270
+ await ctx.reply(f"{Emojis.ok_hand} State re-synced.")
271
272
async def cog_unload(self) -> None:
273
"""Cancel role tasks when the cog unloads."""
274
log.trace("Cog unload: cancelling all scheduled tasks.")
0 commit comments