Initial Commit

This commit is contained in:
Sebastian Fischlmayr 2023-05-04 13:46:14 +02:00
commit 9b2f95aee4
Signed by: Maverick
GPG key ID: 6379E413924A4E77
108 changed files with 4815 additions and 0 deletions

View 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());
}
}