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.Messages;
|
||||||
using Remora.Discord.Commands.Feedback.Services;
|
using Remora.Discord.Commands.Feedback.Services;
|
||||||
using Remora.Discord.Extensions.Embeds;
|
using Remora.Discord.Extensions.Embeds;
|
||||||
|
using Remora.Discord.Extensions.Formatting;
|
||||||
using Remora.Results;
|
using Remora.Results;
|
||||||
|
|
||||||
namespace Cassette.Commands;
|
namespace Cassette.Commands;
|
||||||
|
@ -36,8 +37,9 @@ public sealed class BotCommandGroup(
|
||||||
}
|
}
|
||||||
|
|
||||||
var description = new StringBuilder()
|
var description = new StringBuilder()
|
||||||
.AppendLine("A Discord bot written by [@mctaylors](https://git.mctaylors.ru/mctaylors) " +
|
.Append("Cassette is a Discord bot written by ")
|
||||||
"that plays your music in your voice channels.")
|
.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.");
|
.AppendLine("Powered by Remora.Discord & Lavalink4NET.");
|
||||||
|
|
||||||
var embed = new EmbedBuilder()
|
var embed = new EmbedBuilder()
|
||||||
|
|
|
@ -135,7 +135,7 @@ public sealed class ControlsCommandGroup(
|
||||||
[DiscordDefaultDMPermission(false)]
|
[DiscordDefaultDMPermission(false)]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public async Task<Result> RepeatCommandAsync(
|
public async Task<Result> RepeatCommandAsync(
|
||||||
TrackRepeatMode mode)
|
[Description("Track repeat mode")] TrackRepeatMode mode)
|
||||||
{
|
{
|
||||||
var player = await LavalinkPlayer.GetPlayerAsync(
|
var player = await LavalinkPlayer.GetPlayerAsync(
|
||||||
commandContext, audioService, feedbackService);
|
commandContext, audioService, feedbackService);
|
||||||
|
|
Reference in a new issue