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.

InvalidModule.cs 409 B

1234567891011121314151617181920
  1. using Discord.SlashCommands;
  2. using Discord.WebSocket;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace SlashCommandsExample.Modules
  7. {
  8. // Doesn't inherit from SlashCommandModule
  9. public class InvalidDefinition : Object
  10. {
  11. // commands
  12. }
  13. // Isn't public
  14. class PrivateDefinition : SlashCommandModule<SocketInteraction>
  15. {
  16. // commands
  17. }
  18. }