mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	allow multiple [user_perm] attributes on snek commands
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace Nadeko.Snake;
 | 
					namespace Nadeko.Snake;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[AttributeUsage(AttributeTargets.Method)]
 | 
					[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
 | 
				
			||||||
public sealed class user_permAttribute : Attribute
 | 
					public sealed class user_permAttribute : Attribute
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    public GuildPermission? GuildPerm { get; }
 | 
					    public GuildPermission? GuildPerm { get; }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user