mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05: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:
		@@ -116,6 +116,8 @@ public sealed class BehaviorHandler : IBehaviorHandler, INService
 | 
			
		||||
                            usrMsg.Author.Id,
 | 
			
		||||
                            usrMsg.Channel.Id,
 | 
			
		||||
                            usrMsg.Content?.TrimTo(10));
 | 
			
		||||
                        
 | 
			
		||||
                        return true;
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                catch (Exception ex)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user