1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

Disabled link button still requires URL for some reason

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-03-19 21:50:46 +03:00
parent 40c0cf04b8
commit 0aec6d4ca2
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
3 changed files with 3 additions and 0 deletions

View file

@ -117,6 +117,7 @@ public class AboutCommandGroup : CommandGroup
ButtonComponentStyle.Link, ButtonComponentStyle.Link,
Messages.ButtonDirty, Messages.ButtonDirty,
new PartialEmoji(Name: "⚠️"), new PartialEmoji(Name: "⚠️"),
URL: BuildInfo.IssuesUrl,
IsDisabled: true IsDisabled: true
); );

View file

@ -74,6 +74,7 @@ public class ErrorLoggingPostExecutionEvent : IPostExecutionEvent
ButtonComponentStyle.Link, ButtonComponentStyle.Link,
Messages.ButtonDirty, Messages.ButtonDirty,
new PartialEmoji(Name: "⚠️"), new PartialEmoji(Name: "⚠️"),
URL: BuildInfo.IssuesUrl,
IsDisabled: true IsDisabled: true
); );

View file

@ -119,6 +119,7 @@ public class GuildLoadedResponder : IResponder<IGuildCreate>
ButtonComponentStyle.Link, ButtonComponentStyle.Link,
Messages.ButtonDirty, Messages.ButtonDirty,
new PartialEmoji(Name: "⚠️"), new PartialEmoji(Name: "⚠️"),
URL: BuildInfo.IssuesUrl,
IsDisabled: true IsDisabled: true
); );