Add a scaffold for a command

This commit is contained in:
2023-10-13 19:50:54 +02:00
parent ce0185c6a2
commit 117c980240
6 changed files with 223 additions and 60 deletions

View File

@@ -0,0 +1,13 @@
using Discord.Interactions;
namespace GodReplacementProduct.Modules;
public class FactChecker : InteractionModuleBase<SocketInteractionContext>
{
[SlashCommand("set_fact", "Record a fact for posterity")]
public async Task SetFact(string fact_name, string fact_value) =>
await RespondAsync($"{fact_name} - {fact_value}", ephemeral: true);
}