Skip to content

Commit

Permalink
fix: don't try to send bullets to bullet channel for manual-trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
AstreaTSS committed Jan 10, 2025
1 parent 6ccf8a3 commit 2403a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exts/bullets/bullet_finding.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ async def investigate(

message = await ctx.send(embeds=embed, ephemeral=ctx.ephemeral)

if not truth_bullet.hidden:
if not truth_bullet.hidden and config.bullets.bullets_enabled:
bullet_chan = await self.bot.fetch_channel(config.bullets.bullet_chan_id)
if not bullet_chan or not isinstance(bullet_chan, SendMixin):
config.bullets.bullets_enabled = False
Expand Down

0 comments on commit 2403a4e

Please sign in to comment.