Kind of "Descriptions" update
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
874a43f1cf
commit
7337bc4024
2 changed files with 5 additions and 3 deletions
|
@ -11,6 +11,7 @@ using Remora.Discord.API.Objects;
|
|||
using Remora.Discord.Commands.Feedback.Messages;
|
||||
using Remora.Discord.Commands.Feedback.Services;
|
||||
using Remora.Discord.Extensions.Embeds;
|
||||
using Remora.Discord.Extensions.Formatting;
|
||||
using Remora.Results;
|
||||
|
||||
namespace Cassette.Commands;
|
||||
|
@ -36,8 +37,9 @@ public sealed class BotCommandGroup(
|
|||
}
|
||||
|
||||
var description = new StringBuilder()
|
||||
.AppendLine("A Discord bot written by [@mctaylors](https://git.mctaylors.ru/mctaylors) " +
|
||||
"that plays your music in your voice channels.")
|
||||
.Append("Cassette is a Discord bot written by ")
|
||||
.Append(Markdown.Hyperlink("@mctaylors", "https://git.mctaylors.ru/mctaylors"))
|
||||
.AppendLine(" that plays your most favourite music in your most visited voice channels.")
|
||||
.AppendLine("Powered by Remora.Discord & Lavalink4NET.");
|
||||
|
||||
var embed = new EmbedBuilder()
|
||||
|
|
|
@ -135,7 +135,7 @@ public sealed class ControlsCommandGroup(
|
|||
[DiscordDefaultDMPermission(false)]
|
||||
[UsedImplicitly]
|
||||
public async Task<Result> RepeatCommandAsync(
|
||||
TrackRepeatMode mode)
|
||||
[Description("Track repeat mode")] TrackRepeatMode mode)
|
||||
{
|
||||
var player = await LavalinkPlayer.GetPlayerAsync(
|
||||
commandContext, audioService, feedbackService);
|
||||
|
|
Loading…
Reference in a new issue