luckfire
SIASapphire - Imagine a framework
•Created by luckfire on 11/2/2024 in #sapphire-support
Scheduled Task Does Not Remove on Fail
I have a listener that creates a new task when a member joins voice if a condition is met, and removes it when they leave. The task itself executes perfectly fine, however, if it errors it will not remove the task. I do handle users leaving the channel in the voice state code, however if the bot has downtime and the member leaves during it, it'll have to error out.
I'm not entirely sure if this is intended behavior and I'm just understand the use-case wrong, I checked documentation for bull and it seems like it should remove on error, but it does not.
10 replies