From 8d58fb6722e2db20717e5ec3bce1abf8496344b7 Mon Sep 17 00:00:00 2001
From: gc <30398469+gc@users.noreply.github.com>
Date: Sun, 13 Oct 2024 20:05:48 +1100
Subject: [PATCH] Update bingo page
---
.../content/docs/getting-started/bingo.mdx | 5 +++++
docs/src/content/docs/getting-started/wiki.md | 5 +++++
.../osb/Activities/brimhaven-agility-arena.md | 5 +++--
docs/src/plugins/items.ts | 8 +++++++-
docs/src/styles/main.css | 20 +++++++++++++++++++
5 files changed, 40 insertions(+), 3 deletions(-)
diff --git a/docs/src/content/docs/getting-started/bingo.mdx b/docs/src/content/docs/getting-started/bingo.mdx
index c3b1da6e31..5af6f56910 100644
--- a/docs/src/content/docs/getting-started/bingo.mdx
+++ b/docs/src/content/docs/getting-started/bingo.mdx
@@ -21,6 +21,11 @@ We are hosting the 3rd OSB Bingo! You can compete for a chance of winning some G
1. Ensure all 5 people have the 250m entry free, and are ready to confirm.
1. Use this command in the main discord server: [[/bingo make_team bingo\:OSB Bingo #3]], and everyone click the confirm button.
+## Bingo Channels
+- Receive info/announcements/updates about the bingo: [[# bingo-info:1039869985989861466]]
+- Discuss the bingo: [[# bingo-discussion:1039870142651301979]]
+- Look for a team: [[# bingo-looking-4-team:1149907771937001522]]
+
## Prizes
You can see the actual GP prize pool with the bingo command.
diff --git a/docs/src/content/docs/getting-started/wiki.md b/docs/src/content/docs/getting-started/wiki.md
index 0b5100590d..370e570435 100644
--- a/docs/src/content/docs/getting-started/wiki.md
+++ b/docs/src/content/docs/getting-started/wiki.md
@@ -50,6 +50,11 @@ This section shows ways you can format things
Any colon needs a backslash before it (I'm not sure yet how to make it so this isnt needed.)
+### Discord Channels
+
+`[[# bingo-looking-4-team:1149907771937001522]]`
+[[# bingo-looking-4-team:1149907771937001522]]
+
### Skills
`[[agility:55]] [[strength:44,000 XP]] [[qp:5]]`
diff --git a/docs/src/content/docs/osb/Activities/brimhaven-agility-arena.md b/docs/src/content/docs/osb/Activities/brimhaven-agility-arena.md
index fb9841fcff..c117b5287a 100644
--- a/docs/src/content/docs/osb/Activities/brimhaven-agility-arena.md
+++ b/docs/src/content/docs/osb/Activities/brimhaven-agility-arena.md
@@ -13,7 +13,7 @@ To start Brimhaven Agility Arena, simply type:
While there are no boosts for speed or minion learning, the following bonuses apply:
- Completion of **Karamja Medium** diary or higher:
- - Provides 10% extra Agility experience.
+ - Provides 10% extra Agility experience.
- Grants a 10% experience bonus when turning in agility arena tickets.
- Completion of **Karamja Elite** diary:
- Grants a 10% chance of receiving double agility arena tickets.
@@ -23,7 +23,8 @@ While there are no boosts for speed or minion learning, the following bonuses ap
You can exchange agility arena tickets for [[agility:345 XP]] each ([[agility:379.5 XP]] with the Karamja Medium diary or higher).
To claim experience for tickets, use:
-- [[/minigames agility_arena xp quantity\:1/10/25/100/1000]]
+
+- [[/minigames agility_arena xp quantity\:1/10/25/100/1000]]
### Brimhaven Graceful Set
diff --git a/docs/src/plugins/items.ts b/docs/src/plugins/items.ts
index b0acaba3b3..65077e03d4 100644
--- a/docs/src/plugins/items.ts
+++ b/docs/src/plugins/items.ts
@@ -19,7 +19,13 @@ export function remarkItems(options: any) {
if (matches.length === 0) return;
for (const match of matches) {
- if (imageExtensions.some(ext => match.endsWith(ext))) {
+ if (match.startsWith('#')) {
+ const [channelName, messageID] = match.split(':');
+ const html = `${channelName}`;
+ node.value = node.value.replace(`[[${match}]]`, html);
+ node.type = 'html';
+ continue;
+ } else if (imageExtensions.some(ext => match.endsWith(ext))) {
node.type = 'html';
const html = ``;
node.value = node.value.replace(`[[${match}]]`, html);
diff --git a/docs/src/styles/main.css b/docs/src/styles/main.css
index e22703c425..69ce41212a 100644
--- a/docs/src/styles/main.css
+++ b/docs/src/styles/main.css
@@ -498,4 +498,24 @@ sl-sidebar-state-persist > ul > li:nth-child(3) > details > summary > svg {
#starlight__sidebar .group-label {
text-transform: capitalize;
+}
+
+.discord_channel {
+ font-size: 16px;
+ font-weight: 500;
+ background: #35373c;
+ width: max-content;
+ padding: 3px 10px;
+ font-size: 13.4px;
+ color: #81868f!important;
+ display: flex;
+ align-items: center;
+ border-radius: 4px;
+ text-decoration: none;
+
+ &:hover {
+ color: rgb(192, 192, 192)!important;
+ cursor: pointer;
+ background: rgb(50, 50, 55);
+ }
}
\ No newline at end of file