Merge branch 'master' of thewisewolf.dev:CarmiCoven/pluscampaign-plugin

This commit is contained in:
2026-07-30 14:41:29 +03:00
+4 -1
View File
@@ -85,6 +85,9 @@ class CampaignComponent(cmds.Component):
@cmds.Component.listener()
async def event_message(self, payload):
if not payload.text.startswith("%reward%"):
return
community = await self.bot.profiles.fetch_community(payload.broadcaster)
cid = community.communityid
profile = await self.bot.profiles.fetch_profile(payload.chatter)
@@ -274,7 +277,7 @@ class CampaignComponent(cmds.Component):
async def cmd_campaign_reward(
self,
ctx: cmds.Context,
user: twitchio.PartialUser,
user: twitchio.User,
reward_reason: str,
):
"""Manually reward a target user, adjusting their points."""