fix(channel): Use correct channel name

This commit is contained in:
2026-07-30 14:42:21 +03:00
parent c54653322e
commit e11fb8f071
+2 -1
View File
@@ -24,7 +24,7 @@ class CampaignComponent(cmds.Component):
self.campaigns = CampaignRegistry(self.data) self.campaigns = CampaignRegistry(self.data)
self.channel = CampaignChannel(self.bot.profiles.profiles, self.campaigns) self.channel = CampaignChannel(self.bot.profiles.profiles, self.campaigns)
register_channel("Campaign", self.channel) register_channel(self.channel.name, self.channel)
# ----- API ----- # ----- API -----
async def component_load(self): async def component_load(self):
@@ -278,6 +278,7 @@ class CampaignComponent(cmds.Component):
self, self,
ctx: cmds.Context, ctx: cmds.Context,
user: twitchio.User, user: twitchio.User,
*,
reward_reason: str, reward_reason: str,
): ):
"""Manually reward a target user, adjusting their points.""" """Manually reward a target user, adjusting their points."""