feat: Add delreward command.

This commit is contained in:
2026-07-30 16:57:14 +03:00
parent 6122603115
commit da2122d375
4 changed files with 75 additions and 1 deletions
+1 -1
View File
@@ -131,7 +131,6 @@ class CampaignComponent(cmds.Component):
# ------ Commands -----
@cmds.group(name="campaign", invoke_fallback=True)
@cmds.is_moderator()
async def group_campaign(self, ctx: cmds.Context, name: Optional[str] = None):
"""Status of the current or named campaign."""
community = await self.bot.profiles.fetch_community(ctx.broadcaster)
@@ -174,6 +173,7 @@ class CampaignComponent(cmds.Component):
cap=reward_cap,
)
await ctx.reply(formatted)
await self.dispatch_update(campaign)
@group_campaign.command(name="setup", aliases=["start"])
@cmds.is_moderator()