title: How do I setup Discord Bot commands with dynamic names
body: <p>So I am trying to make a sound bot for my friend's discord server. We had one before from another friend but it stopped working for some reason and I haven't been able to get my hands on the source code. The command the old bot had to play sounds was just the prefix '?' and then the name of the sound ex. &quot;?youdied&quot; I'm writing this in C# using the DSharpPlus library (v3.2.3).
  This is how setting up the commands looks:</p>
  <pre><code>public class BasicCommands : IModule
  {
  [Command(&quot;alive&quot;)]
  [Description(&quot;Simple command to test if the bot is running&quot;]
  public async Task Alive(CommandContext ctx)
      {
          //trigger the &quot;Typing...&quot; in discord
          await ctx.TriggerTypingAsync();
  
          //send the message to the channel the message was received from
          await ctx.RespondAsync(&quot;Shalom!&quot;);
      }
  }
  </code></pre>
  <p>Since the old bot didnt use a static command for playing sounds, just sound names that could be added or removed, there wouldn't really be a command to use. However, I can't just leave the name blank and have the &quot;public async Task&quot;. I <em>could</em> just use a &quot;play&quot; commands and pass the sound name in as a parameter like &quot;?play youdied&quot;, but since I know it might be possible (although maybe not with C#) I want to try it if there is a way.</p>
  <p>more information on my setup:
  I have a Program.cs file that has everything to initialize the DiscordClient, CommandsNextModule,and InteractivityModule. Then a BasicCommands.Modules.cs file where the methods are defined, which are actually done by the bot.</p>