mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Fixed an issue which caused onmessage handlers to not block further execution properly, causing execution of both custom reactions and commands, ref #357
This commit is contained in:
@@ -12,6 +12,7 @@ Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- `.give` DM will once again show an amount
|
- `.give` DM will once again show an amount
|
||||||
|
- Fixed an issue with filters not working and with custom reactions no longer being able to override commands.
|
||||||
|
|
||||||
## [4.1.4] - 06-05-2022
|
## [4.1.4] - 06-05-2022
|
||||||
|
|
||||||
|
@@ -116,6 +116,8 @@ public sealed class BehaviorHandler : IBehaviorHandler, INService
|
|||||||
usrMsg.Author.Id,
|
usrMsg.Author.Id,
|
||||||
usrMsg.Channel.Id,
|
usrMsg.Channel.Id,
|
||||||
usrMsg.Content?.TrimTo(10));
|
usrMsg.Content?.TrimTo(10));
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
Reference in New Issue
Block a user