Add a scaffold for a command
This commit is contained in:
13
GodReplacementProduct/Modules/FactChecker.cs
Normal file
13
GodReplacementProduct/Modules/FactChecker.cs
Normal 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user