Skip to content

[Mutes] fix for timeout duration and add untimeout command#6684

Open
Evanroby wants to merge 4 commits intoCog-Creators:V3/developfrom
Evanroby:mutes
Open

[Mutes] fix for timeout duration and add untimeout command#6684
Evanroby wants to merge 4 commits intoCog-Creators:V3/developfrom
Evanroby:mutes

Conversation

@Evanroby
Copy link
Contributor

@Evanroby Evanroby commented Mar 5, 2026

Description of the changes

fixes #6627

fixes an issue where [p]timeout with no duration and no default time set would silently remove the timeout instead of raising an error
also adds [p]untimeout to remove timeouts from members

Have the changes in this PR been tested?

No

@Evanroby Evanroby requested a review from TrustyJAID as a code owner March 5, 2026 20:32
@github-actions github-actions bot added the Category: Cogs - Mutes This is related to the Mutes cog. label Mar 5, 2026
@TrustyJAID
Copy link
Member

TrustyJAID commented Mar 5, 2026

I haven't reviewed the code on this, but has discord fixed the issue where a user's timeouted_out_until is actually set to None after the time elapses?

@Evanroby
Copy link
Contributor Author

Evanroby commented Mar 5, 2026

I'll just use is_timed_out() instead of checking if the timeout duration is None then, good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Cogs - Mutes This is related to the Mutes cog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Mutes] Unable to remove timeouts if a default mute duration is configured

2 participants