From e7398447d899d720955575e02f9b60a0be82665f Mon Sep 17 00:00:00 2001 From: biast12 <53872542+biast12@users.noreply.github.com> Date: Wed, 30 Sep 2026 16:11:02 +0200 Subject: [PATCH] Update documentation links Redirect tag, on-call, ticket panel, and claiming guidance links to their updated documentation paths. --- bot/command/impl/tags/tag.go | 2 +- bot/command/impl/tickets/oncall.go | 2 +- bot/listeners/guildcreate.go | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bot/command/impl/tags/tag.go b/bot/command/impl/tags/tag.go index e4a9e195..baba6787 100644 --- a/bot/command/impl/tags/tag.go +++ b/bot/command/impl/tags/tag.go @@ -59,7 +59,7 @@ func (TagCommand) Execute(ctx registry.CommandContext, tagId string) { } if !ok { - ctx.ReplyWithFields(customisation.Red, i18n.Error, i18n.MessageTagInvalidTag, utils.ToSlice(usageEmbed), fmt.Sprintf("%s/tags", config.Conf.Bot.FrontpageUrl)) + ctx.ReplyWithFields(customisation.Red, i18n.Error, i18n.MessageTagInvalidTag, utils.ToSlice(usageEmbed), fmt.Sprintf("%s/dashboard/tags#using-a-tag-in-discord", config.Conf.Bot.DocsUrl)) return } diff --git a/bot/command/impl/tickets/oncall.go b/bot/command/impl/tickets/oncall.go index f4ca5d82..3f7ca3f7 100644 --- a/bot/command/impl/tickets/oncall.go +++ b/bot/command/impl/tickets/oncall.go @@ -54,7 +54,7 @@ func (OnCallCommand) Execute(ctx registry.CommandContext) { } if !hasThreadPanel { - ctx.Reply(customisation.Red, i18n.Error, i18n.MessageOnCallChannelMode, "/on-call", fmt.Sprintf("%s/features/thread-mode", config.Conf.Bot.DocsUrl)) + ctx.Reply(customisation.Red, i18n.Error, i18n.MessageOnCallChannelMode, "/on-call", fmt.Sprintf("%s/dashboard/settings/thread-mode", config.Conf.Bot.DocsUrl)) return } diff --git a/bot/listeners/guildcreate.go b/bot/listeners/guildcreate.go index f07eec8b..0282db3d 100644 --- a/bot/listeners/guildcreate.go +++ b/bot/listeners/guildcreate.go @@ -81,10 +81,10 @@ func sendIntroMessage(ctx context.Context, worker *worker.Context, guild guild.G SetDescription(fmt.Sprintf("Thank you for inviting Tickets to your server! Below is a quick guide on setting up the bot, please don't hesitate to contact us in our [support server](%s) if you need any assistance!", config.Conf.Bot.SupportServerInvite)). SetColor(customisation.GetColourOrDefault(ctx, guild.Id, customisation.Green)). AddField("Setup", fmt.Sprintf("You can setup the bot using `/setup`, or you can use the [web dashboard](%s) which has additional options", config.Conf.Bot.DashboardUrl), false). - AddField("Ticket Panels", fmt.Sprintf("Ticket panels are a commonly used feature of the bot. You can read about them [here](%s/panels), or create one on the [web dashboard](%s/manage/%d/panels)", config.Conf.Bot.FrontpageUrl, config.Conf.Bot.DashboardUrl, guild.Id), false). + AddField("Ticket Panels", fmt.Sprintf("Ticket panels are a commonly used feature of the bot. You can read about them [here](%s/setup/ticket-panels), or create one on the [web dashboard](%s/manage/%d/panels)", config.Conf.Bot.DocsUrl, config.Conf.Bot.DashboardUrl, guild.Id), false). AddField("Adding Staff", "To allow staff to answer tickets, you must let the bot know about them first. You can do this through\n`/addsupport [@User / @Role]` and `/addadmin [@User / @Role]`. While both Support and Admin can access the dashboard, Bot Admins can change the settings of the bot.", false). - AddField("Tags", fmt.Sprintf("Tags are predefined tickets of text which you can access through a simple command. You can learn more about them [here](%s/tags).", config.Conf.Bot.FrontpageUrl), false). - AddField("Claiming", fmt.Sprintf("Tickets can be claimed by your staff such that other staff members cannot also reply to the ticket. You can learn more about claiming [here](%s/claiming).", config.Conf.Bot.FrontpageUrl), false). + AddField("Tags", fmt.Sprintf("Tags are predefined tickets of text which you can access through a simple command. You can learn more about them [here](%s/dashboard/tags).", config.Conf.Bot.DocsUrl), false). + AddField("Claiming", fmt.Sprintf("Tickets can be claimed by your staff such that other staff members cannot also reply to the ticket. You can learn more about claiming [here](%s/dashboard/settings/claiming-tickets).", config.Conf.Bot.DocsUrl), false). AddField("Additional Support", fmt.Sprintf("If you are still confused, we welcome you to our [support server](%s). Cheers.", config.Conf.Bot.SupportServerInvite), false) _, _ = worker.CreateMessageEmbed(channel.Id, msg)