mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
Issues -> IssuesUrl
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
dda132abcc
commit
e9d3de4648
4 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ public static class BuildInfo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string Issues
|
public static string IssuesUrl
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
|
|
@ -115,7 +115,7 @@ public class AboutCommandGroup : CommandGroup
|
||||||
ButtonComponentStyle.Link,
|
ButtonComponentStyle.Link,
|
||||||
Messages.ButtonReportIssue,
|
Messages.ButtonReportIssue,
|
||||||
new PartialEmoji(Name: "⚠️"),
|
new PartialEmoji(Name: "⚠️"),
|
||||||
URL: BuildInfo.Issues
|
URL: BuildInfo.IssuesUrl
|
||||||
);
|
);
|
||||||
|
|
||||||
return await _feedback.SendContextualEmbedResultAsync(embed,
|
return await _feedback.SendContextualEmbedResultAsync(embed,
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class ErrorLoggingPostExecutionEvent : IPostExecutionEvent
|
||||||
ButtonComponentStyle.Link,
|
ButtonComponentStyle.Link,
|
||||||
Messages.ButtonReportIssue,
|
Messages.ButtonReportIssue,
|
||||||
new PartialEmoji(Name: "⚠️"),
|
new PartialEmoji(Name: "⚠️"),
|
||||||
URL: BuildInfo.Issues
|
URL: BuildInfo.IssuesUrl
|
||||||
);
|
);
|
||||||
|
|
||||||
return await _feedback.SendContextualEmbedResultAsync(embed,
|
return await _feedback.SendContextualEmbedResultAsync(embed,
|
||||||
|
|
|
@ -117,7 +117,7 @@ public class GuildLoadedResponder : IResponder<IGuildCreate>
|
||||||
ButtonComponentStyle.Link,
|
ButtonComponentStyle.Link,
|
||||||
Messages.ButtonReportIssue,
|
Messages.ButtonReportIssue,
|
||||||
new PartialEmoji(Name: "⚠️"),
|
new PartialEmoji(Name: "⚠️"),
|
||||||
URL: BuildInfo.Issues
|
URL: BuildInfo.IssuesUrl
|
||||||
);
|
);
|
||||||
|
|
||||||
return await _channelApi.CreateMessageWithEmbedResultAsync(channel, embedResult: errorEmbed,
|
return await _channelApi.CreateMessageWithEmbedResultAsync(channel, embedResult: errorEmbed,
|
||||||
|
|
Loading…
Add table
Reference in a new issue