Skip to content

Commit

Permalink
[twitchbot] Fix !reload printing available agents.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfi1 committed Nov 18, 2024
1 parent 51e0528 commit 29f0d18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/twitchbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,7 @@ def _reload_models(self):
async def reload(self, ctx: commands.Context):
with self.lock:
self._reload_models()
models_str = ", ".join(self._models)
await ctx.send(f'Available agents: {models_str}')
await self.agents(ctx)

@commands.command()
async def config(self, ctx: commands.Context):
Expand Down

0 comments on commit 29f0d18

Please sign in to comment.