mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
18 lines
855 B
C#
18 lines
855 B
C#
using DSharpPlus.Commands.ContextChecks;
|
|
|
|
namespace CompatBot.Commands.Attributes;
|
|
|
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)]
|
|
internal class LimitedToHelpChannelAttribute: ContextCheckAttribute;
|
|
|
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)]
|
|
internal class LimitedToOfftopicChannelAttribute: ContextCheckAttribute;
|
|
|
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)]
|
|
internal class LimitedToSpamChannelAttribute: ContextCheckAttribute;
|
|
|
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)]
|
|
internal class RequiresDmAttribute: ContextCheckAttribute;
|
|
|
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)]
|
|
internal class RequiresNotMediaAttribute: ContextCheckAttribute; |