You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
675 B
18 lines
675 B
4 years ago
|
using System;
|
||
|
|
||
|
namespace Discord.Commands
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Prevents the marked module from being loaded automatically.
|
||
|
/// </summary>
|
||
|
/// <remarks>
|
||
|
/// This attribute tells <see cref="CommandService" /> to ignore the marked module from being loaded
|
||
|
/// automatically (e.g. the <see cref="CommandService.AddModulesAsync" /> method). If a non-public module marked
|
||
|
/// with this attribute is attempted to be loaded manually, the loading process will also fail.
|
||
|
/// </remarks>
|
||
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
|
||
|
public class DontAutoLoadAttribute : Attribute
|
||
|
{
|
||
|
}
|
||
|
}
|