You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- namespace Discord.Commands.Permissions.Visibility
- {
- public static class PublicExtensions
- {
- public static CommandBuilder PublicOnly(this CommandBuilder builder)
- {
- builder.AddCheck(new PublicChecker());
- return builder;
- }
- public static CommandGroupBuilder PublicOnly(this CommandGroupBuilder builder)
- {
- builder.AddCheck(new PublicChecker());
- return builder;
- }
- public static CommandService PublicOnly(this CommandService service)
- {
- service.Root.AddCheck(new PublicChecker());
- return service;
- }
- }
- }
|