allow multiple [user_perm] attributes on snek commands

This commit is contained in:
Kwoth
2023-01-15 00:15:27 +01:00
parent 391a3f0513
commit 9841d72622

View File

@@ -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; }