Update links to the new website & discord

This commit is contained in:
Ben Hall 2025-01-09 13:21:21 +00:00 committed by GitHub
parent 5ea4be5038
commit ce5c0f9907
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 15 additions and 15 deletions

View File

@ -38,7 +38,7 @@ func multiPanelIntoMessageData(panel database.MultiPanel, isPremium bool) multiP
func (d *multiPanelMessageData) send(ctx *botcontext.BotContext, panels []database.Panel) (uint64, error) { func (d *multiPanelMessageData) send(ctx *botcontext.BotContext, panels []database.Panel) (uint64, error) {
if !d.IsPremium { if !d.IsPremium {
// TODO: Don't harcode // TODO: Don't harcode
d.Embed.SetFooter("Powered by ticketsbot.net", "https://ticketsbot.net/assets/img/logo.png") d.Embed.SetFooter("Powered by ticketsbot.cloud", "https://ticketsbot.net/assets/img/logo.png")
} }
var components []component.Component var components []component.Component

View File

@ -70,7 +70,7 @@ func (p *panelMessageData) send(c *botcontext.BotContext) (uint64, error) {
} }
if !p.IsPremium { if !p.IsPremium {
e.SetFooter("Powered by ticketsbot.net", "https://ticketsbot.net/assets/img/logo.png") e.SetFooter("Powered by ticketsbot.cloud", "https://ticketsbot.net/assets/img/logo.png")
} }
data := rest.CreateMessageData{ data := rest.CreateMessageData{

View File

@ -91,7 +91,7 @@ func WhitelabelPost() func(*gin.Context) {
application.FlagGatewayMessageContentLimited, application.FlagGatewayMessageContentLimited,
)), )),
// TODO: Don't hardcode URL // TODO: Don't hardcode URL
InteractionsEndpointUrl: utils.Ptr(fmt.Sprintf("https://gateway.ticketsbot.net/handle/%d", bot.Id)), InteractionsEndpointUrl: utils.Ptr(fmt.Sprintf("https://gateway.ticketsbot.cloud/handle/%d", bot.Id)),
} }
if _, err := rest.EditCurrentApplication(context.Background(), data.Token, nil, editData); err != nil { if _, err := rest.EditCurrentApplication(context.Background(), data.Token, nil, editData); err != nil {

View File

@ -16,7 +16,7 @@
<span class="no-permission"> <span class="no-permission">
No permission No permission
<Tooltip tip="You do not have permission to manage this server." top color="#121212"> <Tooltip tip="You do not have permission to manage this server." top color="#121212">
<a href="https://docs.ticketsbot.net/miscellaneous/dashboard-no-permission" target="_blank"> <a href="https://docs.ticketsbot.cloud/miscellaneous/dashboard-no-permission" target="_blank">
<i class="fas fa-circle-question form-label tooltip-icon"></i> <i class="fas fa-circle-question form-label tooltip-icon"></i>
</a> </a>
</Tooltip> </Tooltip>

View File

@ -141,7 +141,7 @@
<div class="section"> <div class="section">
<p>You can specify a URL to send a POST request to when a user adds your integration to their server / <p>You can specify a URL to send a POST request to when a user adds your integration to their server /
updates the secrets. Respond with 2XX if the secrets are valid, or any other status code to reject updates the secrets. Respond with 2XX if the secrets are valid, or any other status code to reject
them. You can read more about secret validation in our <a class="link-blue" href="https://docs.ticketsbot.net/integrations/building-integrations#secret-validation">documentation</a>.</p> them. You can read more about secret validation in our <a class="link-blue" href="https://docs.ticketsbot.cloud/integrations/building-integrations#secret-validation">documentation</a>.</p>
<Input col1 label="Validation URL (Optional)" bind:value={data.validation_url} <Input col1 label="Validation URL (Optional)" bind:value={data.validation_url}
on:change={ensureNullIfBlank} placeholder="https://api.example.com/validate"/> on:change={ensureNullIfBlank} placeholder="https://api.example.com/validate"/>
</div> </div>

View File

@ -10,6 +10,6 @@
<script> <script>
function invite() { function invite() {
window.location.href = `https://invite.ticketsbot.net`; window.location.href = `https://invite.ticketsbot.cloud`;
} }
</script> </script>

View File

@ -58,7 +58,7 @@
bind:value={data.naming_scheme} bind:value={data.naming_scheme}
placeholder="ticket-%id%" placeholder="ticket-%id%"
tooltipText="Click here for the full placeholder list" tooltipText="Click here for the full placeholder list"
tooltipLink="https://docs.ticketsbot.net" /> tooltipLink="https://docs.ticketsbot.cloud" />
{/if} {/if}
</div> </div>
<div class="incomplete-row"> <div class="incomplete-row">

View File

@ -27,7 +27,7 @@
</div> </div>
</Collapsible> </Collapsible>
<Collapsible defaultOpen tooltip="Click here to find out more about thread mode" tooltipUrl="https://docs.ticketsbot.net/features/thread-mode"> <Collapsible defaultOpen tooltip="Click here to find out more about thread mode" tooltipUrl="https://docs.ticketsbot.cloud/features/thread-mode">
<span slot="header" class="header">Thread Mode</span> <span slot="header" class="header">Thread Mode</span>
<div slot="content" class="col-1"> <div slot="content" class="col-1">
<div class="row"> <div class="row">

View File

@ -29,7 +29,7 @@
<nav class="bottom"> <nav class="bottom">
<hr/> <hr/>
<ul class="nav-list"> <ul class="nav-list">
<ManageSidebarLink {currentRoute} title="Documentation" icon="fa-book" href="https://docs.ticketsbot.net" newWindow /> <ManageSidebarLink {currentRoute} title="Documentation" icon="fa-book" href="https://docs.ticketsbot.cloud" newWindow />
<ManageSidebarLink {currentRoute} title="Logout" icon="fa-sign-out-alt" href="/logout" /> <ManageSidebarLink {currentRoute} title="Logout" icon="fa-sign-out-alt" href="/logout" />
</ul> </ul>
</nav> </nav>

View File

@ -29,7 +29,7 @@
</div> </div>
<div> <div>
<div class="nav-section" class:dropdown={$dropdown}> <div class="nav-section" class:dropdown={$dropdown}>
<NavElement icon="fas fa-book" link="https://docs.ticketsbot.net">Documentation</NavElement> <NavElement icon="fas fa-book" link="https://docs.ticketsbot.cloud">Documentation</NavElement>
<NavElement icon="fas fa-server" link="/#">Servers</NavElement> <NavElement icon="fas fa-server" link="/#">Servers</NavElement>
<NavElement icon="fas fa-sign-out-alt" link="/logout">Logout</NavElement> <NavElement icon="fas fa-sign-out-alt" link="/logout">Logout</NavElement>
</div> </div>

View File

@ -1,5 +1,5 @@
export const API_URL = env.API_URL || "https://api.ticketsbot.cloud" export const API_URL = env.API_URL || "https://api.ticketsbot.cloud"
export const PLACEHOLDER_DOCS_URL = "https://docs.ticketsbot.net/setup/placeholders.html" export const PLACEHOLDER_DOCS_URL = "https://docs.ticketsbot.cloud/setup/placeholders.html"
export const OAUTH = { export const OAUTH = {
clientId: env.CLIENT_ID || "1325579039888511056", clientId: env.CLIENT_ID || "1325579039888511056",

View File

@ -14,7 +14,7 @@
} }
clearLocalStorage() clearLocalStorage()
window.location.href = 'https://ticketsbot.net' window.location.href = 'https://ticketsbot.cloud'
} }
process() process()

View File

@ -255,7 +255,7 @@
const res = await axios.get(`${API_URL}/user/whitelabel/`); const res = await axios.get(`${API_URL}/user/whitelabel/`);
if (res.status !== 200) { if (res.status !== 200) {
if (res.status === 402) { if (res.status === 402) {
window.location.replace("https://ticketsbot.net/premium"); window.location.replace("https://ticketsbot.cloud/premium");
return false; return false;
} }

View File

@ -28,7 +28,7 @@
<div class="integration"> <div class="integration">
<Integration builtIn name="Bloxlink" <Integration builtIn name="Bloxlink"
imageUrl="https://dbl-static.b-cdn.net/9bbd1f9504ddefc89606b19b290e9a0f.png" imageUrl="https://dbl-static.b-cdn.net/9bbd1f9504ddefc89606b19b290e9a0f.png"
viewLink="https://docs.ticketsbot.net/dashboard/settings/placeholders#bloxlink"> viewLink="https://docs.ticketsbot.cloud/dashboard/settings/placeholders#bloxlink">
<span slot="description"> <span slot="description">
Our Bloxlink integration inserts the Roblox usernames, profile URLs and more of your users into Our Bloxlink integration inserts the Roblox usernames, profile URLs and more of your users into
ticket welcome messages automatically! This integration is automatically enabled in all servers, press the ticket welcome messages automatically! This integration is automatically enabled in all servers, press the
@ -110,7 +110,7 @@
return null; return null;
} }
return `https://image-cdn.ticketsbot.net/proxy?token=${integration.proxy_token}` return `https://image-cdn.ticketsbot.cloud/proxy?token=${integration.proxy_token}`
} }
async function removeIntegration(integrationId) { async function removeIntegration(integrationId) {