From c08406a70867ffc00a71f239da9f29b6c1b6dc5a Mon Sep 17 00:00:00 2001 From: Joel Lau <29514264+JoelLau@users.noreply.github.com> Date: Sun, 3 Oct 2021 06:12:23 +0800 Subject: [PATCH 1/4] added authors to archive (tech spotlight) templates (#424) Co-authored-by: Xetera --- src/templates/archive.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/templates/archive.tsx b/src/templates/archive.tsx index eaf0b93..02e061d 100644 --- a/src/templates/archive.tsx +++ b/src/templates/archive.tsx @@ -9,7 +9,7 @@ import { PageContent } from "../components/PageContent" // @todo maybe find alternative type for data const Archive: FC = ({ data }) => { const { relativePath, ctime } = data.file - const { body, excerpt, timeToRead } = data.file.post + const { body, excerpt, fields, timeToRead } = data.file.post const title = humanize(relativePath) @@ -20,6 +20,7 @@ const Archive: FC = ({ data }) => { relativePath={relativePath} basePath="/archives" title={title} + authors={fields.authors} createdAt={ctime} timeToRead={timeToRead} shifted={false} @@ -39,6 +40,13 @@ export const query = graphql` post: childMdx { body excerpt + fields { + authors { + name + hash + avatar + } + } timeToRead } } From 546a2a8bcdee87f1670d015305142526929180fe Mon Sep 17 00:00:00 2001 From: Alexander Deledda <35577000+Abzylicious@users.noreply.github.com> Date: Sun, 3 Oct 2021 21:35:29 +0200 Subject: [PATCH 2/4] add RaffleBot info (#426) * add RaffleBot info * revert package-lock.json changes --- src/content/site/bots.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/content/site/bots.md b/src/content/site/bots.md index 2012919..12e6721 100644 --- a/src/content/site/bots.md +++ b/src/content/site/bots.md @@ -261,6 +261,7 @@ Below are the bots you will see in the server but you will not need to interact **Source:** https://github.com/JakeJMattson/EmbedBot + ## Emourge **Description:** Emourge tracks emote usage. We use this to help us identify the least used emotes incase we want to add some new ones! @@ -268,6 +269,7 @@ Below are the bots you will see in the server but you will not need to interact **Source:** https://github.com/dfireBird/emourge-mongo + ## Hawk **Description:** Hawk manages nickname prefixes & suffixes. It adds 🔨 to staff nicks and organises the occasional nick party! @@ -283,6 +285,15 @@ Below are the bots you will see in the server but you will not need to interact **Source:** https://github.com/the-programmers-hangout/Nano + +## RaffleBot + +**Description:** RaffleBot is a discord bot built originally for The Programmer's Hangout that focuses on managing giveaways. + +**Source:** https://github.com/Abzylicious/RaffleBot + + + ## Skadi **Description:** Skadi manages activity roles on the server. @@ -290,6 +301,7 @@ Below are the bots you will see in the server but you will not need to interact **Source:** This source isn't publicly available. We don't want people trying to game the system. + ## Slothbot **Description:** Slothbot manages slowmode across the server. From d17852e850a4002b90531220fd3050cf885a18dd Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 7 Oct 2021 15:11:33 +0100 Subject: [PATCH 3/4] Add ban appeal form --- src/content/site/faq.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/site/faq.md b/src/content/site/faq.md index aff2ac3..a90eddd 100644 --- a/src/content/site/faq.md +++ b/src/content/site/faq.md @@ -45,3 +45,8 @@ If you get annoyed that you don't have your name and make a big deal out of it, ## How do I join The Programmer's Hangout GitHub organisation? The Programmer's Hangout has an [organisation on GitHub](https://github.com/the-programmers-hangout) and the best part is that you can join it too! To get yourself added to the organisation, send your GitHub username to the moderators via @ModMail#8255 and you'll be invited to the organisation. You even get a cool little badge on your GitHub profile! + + +## How do I appeal my ban? + +We accept ban appeals 30 days after the initial ban date. You can appeal your ban through [this google form.](https://forms.gle/TZEmvxnMbVNfCe4o7) \ No newline at end of file From c194a6908361a89eea7839a613e134321f9e9940 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 7 Oct 2021 15:35:35 +0100 Subject: [PATCH 4/4] Fix judgebot command formatting --- src/content/site/bots.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/site/bots.md b/src/content/site/bots.md index 12e6721..817fc01 100644 --- a/src/content/site/bots.md +++ b/src/content/site/bots.md @@ -24,6 +24,7 @@ Judgebot has a 50-point system. Each infraction gives you points, and points dec ### Commands `j!selfhistory` - Will DM your infraction history. + `:stop_sign:` - Reacting to a message with this emote will alert staff to it. Use it if you see any potentially rule breaking content.