Skip to content

Commit

Permalink
feat: add jump link to staff embed
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Jul 22, 2023
1 parent 6cdb62f commit 527cba5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.2] - 2023-07-22

### Added

- Add suggestion link to staff embed.

## [1.3.1] - 2023-07-22

### Added
Expand Down
1 change: 1 addition & 0 deletions SuggestionBot/Services/SuggestionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public DiscordEmbed CreatePrivateEmbed(Suggestion suggestion)
embed.AddField("Status", $"{emoji} **{suggestion.Status.Humanize(LetterCasing.AllCaps)}**", true);
embed.AddField("Author", author.Mention, true);
embed.AddField("Submitted", Formatter.Timestamp(suggestion.Timestamp), true);
embed.AddField("View Suggestion", GetSuggestionLink(suggestion), true);

if (suggestion.StaffMemberId.HasValue)
{
Expand Down
2 changes: 1 addition & 1 deletion SuggestionBot/SuggestionBot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<VersionPrefix>1.3.1</VersionPrefix>
<VersionPrefix>1.3.2</VersionPrefix>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
Expand Down

0 comments on commit 527cba5

Please sign in to comment.