mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04: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