Skip to content

Clear pending duels on duel accept #22

@xDestx

Description

@xDestx

User A, User B, and User C

If User B and User C do
--duel @UserA

that means UserA is in two different pending duels. When UserA accepts one, they will still be able to accept the other duel as well, and this is a potential issue.

Proposed fix: Find all duels that the user is pending in on duel accept, and disband all of them (try making Disband no event invoke to stop the bot from sayin GG for every one)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions