mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
19 lines
No EOL
550 B
C#
19 lines
No EOL
550 B
C#
using Myriad.Types;
|
|
|
|
namespace PluralKit.Bot;
|
|
|
|
public partial class CommandTree
|
|
{
|
|
private async Task PrintCommandList(Context ctx, string subject, string commands)
|
|
{
|
|
await ctx.Reply(
|
|
components: [
|
|
new MessageComponent()
|
|
{
|
|
Type = ComponentType.Text,
|
|
Content = $"Here is a list of commands related to {subject}:\n{commands}\nFor a full list of possible commands, see <https://pluralkit.me/commands>.",
|
|
}
|
|
]
|
|
);
|
|
}
|
|
} |