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.
|
- public class MyModule : InteractionModuleBase
- {
- private readonly MyService _service;
-
- public MyModule(MyService service)
- {
- _service = service;
- }
-
- [SlashCommand("things", "Shows things")]
- public async Task ThingsAsync()
- {
- var str = string.Join("\n", _service.Things)
- await RespondAsync(str);
- }
- }
|