Initial Commit
This commit is contained in:
commit
9b2f95aee4
108 changed files with 4815 additions and 0 deletions
21
Flux_System_Assistant/CommandModules/FinanceCommands.cs
Normal file
21
Flux_System_Assistant/CommandModules/FinanceCommands.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using Discord;
|
||||
using Discord.Interactions;
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace Flux_System_Assistant.CommandModules;
|
||||
|
||||
public class FinanceCommands : InteractionModuleBase<SocketInteractionContext>
|
||||
{
|
||||
[SlashCommand("hello2","writes hello world")]
|
||||
public async Task SayHelloAsync()
|
||||
{
|
||||
var builder = new EmbedBuilder()
|
||||
.WithAuthor(Context.User)
|
||||
.WithTitle("Test");
|
||||
|
||||
var builder2 = new ComponentBuilder()
|
||||
.WithButton("Test", "ceta-3");
|
||||
|
||||
await RespondAsync(embed: builder.Build(), components: builder2.Build());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue