Pre-Wiki Update (#285)

This PR has been opened to finally update Octobot's Wiki.

Current changes summary:
- correct minor spelling issues in some command descriptions
- /about: add Octobot's Wiki button

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-03-23 21:45:39 +03:00 committed by GitHub
parent e0232f6008
commit ac8621a2ec
Signed by: GitHub
GPG key ID: B5690EEEBB952194
8 changed files with 28 additions and 4 deletions

View file

@ -111,6 +111,13 @@ public class AboutCommandGroup : CommandGroup
URL: BuildInfo.RepositoryUrl
);
var wikiButton = new ButtonComponent(
ButtonComponentStyle.Link,
Messages.ButtonOpenWiki,
new PartialEmoji(Name: "📖"),
URL: BuildInfo.WikiUrl
);
var issuesButton = new ButtonComponent(
ButtonComponentStyle.Link,
BuildInfo.IsDirty
@ -124,7 +131,7 @@ public class AboutCommandGroup : CommandGroup
return await _feedback.SendContextualEmbedResultAsync(embed,
new FeedbackMessageOptions(MessageComponents: new[]
{
new ActionRowComponent(new[] { repositoryButton, issuesButton })
new ActionRowComponent(new[] { repositoryButton, wikiButton, issuesButton })
}), ct);
}
}