generated from HoloTech/holotech-plugin-template
fix(channel): Use correct channel name
This commit is contained in:
@@ -24,7 +24,7 @@ class CampaignComponent(cmds.Component):
|
||||
self.campaigns = CampaignRegistry(self.data)
|
||||
self.channel = CampaignChannel(self.bot.profiles.profiles, self.campaigns)
|
||||
|
||||
register_channel("Campaign", self.channel)
|
||||
register_channel(self.channel.name, self.channel)
|
||||
|
||||
# ----- API -----
|
||||
async def component_load(self):
|
||||
@@ -278,6 +278,7 @@ class CampaignComponent(cmds.Component):
|
||||
self,
|
||||
ctx: cmds.Context,
|
||||
user: twitchio.User,
|
||||
*,
|
||||
reward_reason: str,
|
||||
):
|
||||
"""Manually reward a target user, adjusting their points."""
|
||||
|
||||
Reference in New Issue
Block a user