From 3a1e7015030a2ac6f7024709854761d518401a81 Mon Sep 17 00:00:00 2001 From: Lea Date: Wed, 28 Jun 2023 15:50:57 +0200 Subject: [PATCH] update github urls --- .github/workflows/docker.yml | 8 ++++---- bot/src/bot/commands/configuration/botctl.ts | 2 +- bot/src/bot/commands/configuration/bridge.ts | 2 +- bot/src/bot/commands/moderation/warns.ts | 2 +- bridge/src/discord/commands.ts | 4 ++-- bridge/src/discord/events.ts | 4 ++-- web/src/pages/Home.tsx | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d5fcfe8..fd45d00 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -20,7 +20,7 @@ jobs: uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags - images: ghcr.io/janderedev/automod-api + images: ghcr.io/sussycatgirl/automod-api # generate Docker tags based on branch and short commit SHA tags: | type=ref,event=branch @@ -60,7 +60,7 @@ jobs: uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags - images: ghcr.io/janderedev/automod-web + images: ghcr.io/sussycatgirl/automod-web # generate Docker tags based on branch and short commit SHA tags: | type=ref,event=branch @@ -102,7 +102,7 @@ jobs: uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags - images: ghcr.io/janderedev/automod-bridge + images: ghcr.io/sussycatgirl/automod-bridge # generate Docker tags based on branch and short commit SHA tags: | type=ref,event=branch @@ -144,7 +144,7 @@ jobs: uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags - images: ghcr.io/janderedev/automod-bot + images: ghcr.io/sussycatgirl/automod-bot # generate Docker tags based on branch and short commit SHA tags: | type=ref,event=branch diff --git a/bot/src/bot/commands/configuration/botctl.ts b/bot/src/bot/commands/configuration/botctl.ts index 81a5a0f..631618e 100644 --- a/bot/src/bot/commands/configuration/botctl.ts +++ b/bot/src/bot/commands/configuration/botctl.ts @@ -319,7 +319,7 @@ export default { `- **${DEFAULT_PREFIX}botctl filter message [message]** - Set the message sent when a message is matched.\n` + `- **${DEFAULT_PREFIX}botctl filter action [log|delete|warn]** - Configure the action taken on filtered messages.\n` + `- **${DEFAULT_PREFIX}botctl filter test [phrase]** - Test whether a phrase matches your word list.\n` + - `More documentation can be found [here](https://github.com/janderedev/automod/wiki/Word-Filter).`, + `More documentation can be found [here](https://github.com/sussycatgirl/automod/wiki/Word-Filter).`, 'Word filter', ), embed( diff --git a/bot/src/bot/commands/configuration/bridge.ts b/bot/src/bot/commands/configuration/bridge.ts index 69eff98..449af15 100644 --- a/bot/src/bot/commands/configuration/bridge.ts +++ b/bot/src/bot/commands/configuration/bridge.ts @@ -254,7 +254,7 @@ export default { return await message.reply({ embeds: [ embed( - "This channel is bridged to Discord. Please refer to the [Privacy Policy]() for more info.", + "This channel is bridged to Discord. Please refer to the [Privacy Policy]() for more info.", "Bridge Status", EmbedColor.Success ), diff --git a/bot/src/bot/commands/moderation/warns.ts b/bot/src/bot/commands/moderation/warns.ts index 41227d7..2e88691 100644 --- a/bot/src/bot/commands/moderation/warns.ts +++ b/bot/src/bot/commands/moderation/warns.ts @@ -12,7 +12,7 @@ import CommandCategory from "../../../struct/commands/CommandCategory"; Day.extend(RelativeTime); -const GLOBAL_BLACKLIST_TEXT = (reason?: string) => `> :warning: This user has been flagged and is globally blacklisted. [Learn more.](https://github.com/janderedev/automod/wiki/Global-Blacklist)` +const GLOBAL_BLACKLIST_TEXT = (reason?: string) => `> :warning: This user has been flagged and is globally blacklisted. [Learn more.](https://github.com/sussycatgirl/automod/wiki/Global-Blacklist)` + `${reason ? `\nReason: "${reason}"` : ''}\n\n`; export default { diff --git a/bridge/src/discord/commands.ts b/bridge/src/discord/commands.ts index 42aef17..03aab8e 100644 --- a/bridge/src/discord/commands.ts +++ b/bridge/src/discord/commands.ts @@ -10,7 +10,7 @@ import { client as revoltClient } from "../revolt/client"; import { CONFIG_KEYS } from "automod/dist/misc/bridge_config_keys"; const PRIVACY_POLICY_URL = - "https://github.com/janderedev/automod/wiki/Privacy-Policy"; + "https://github.com/sussycatgirl/automod/wiki/Privacy-Policy"; const COMMANDS: any[] = [ { @@ -312,7 +312,7 @@ client.on("interactionCreate", async (interaction) => { `If you have any questions regarding this bot or the Revolt counterpart, feel free to join ` + `[this](https://discord.gg/4pZgvqgYJ8) Discord server or [this](https://rvlt.gg/jan) Revolt server.\n` + `If you want to report a bug, suggest a feature or browse the source code, ` + - `feel free to do so [on GitHub](https://github.com/janderedev/automod).\n` + + `feel free to do so [on GitHub](https://github.com/sussycatgirl/automod).\n` + `For other inquiries, please contact \`contact@automod.me\`.\n\n` + `Before using this bot, please read the [Privacy Policy](${PRIVACY_POLICY_URL})!` ); diff --git a/bridge/src/discord/events.ts b/bridge/src/discord/events.ts index 1623a13..0578599 100644 --- a/bridge/src/discord/events.ts +++ b/bridge/src/discord/events.ts @@ -393,7 +393,7 @@ client.on("guildCreate", async (server) => { "Thanks for adding AutoMod to this server! Please note that despite its name, this bot only provides " + "bridge integration with the AutoMod bot on Revolt () and does not offer any moderation " + "features on Discord. To get started, run the `/bridge help` command!\n\n" + - "Before using AutoMod, please make sure you have read the privacy policy: \n\n" + + "Before using AutoMod, please make sure you have read the privacy policy: \n\n" + "A note to this server's administrators: When using the bridge, please make sure to also provide your members " + "with a link to AutoMod's privacy policy in an accessible place like your rules channel."; @@ -426,7 +426,7 @@ async function renderMessageBody(message: string): Promise { const res = await axios.get(message, { headers: { "User-Agent": - "AutoMod/1.0; https://github.com/janderedev/automod", + "AutoMod/1.0; https://github.com/sussycatgirl/automod", }, }); diff --git a/web/src/pages/Home.tsx b/web/src/pages/Home.tsx index 771f8e3..d67110c 100644 --- a/web/src/pages/Home.tsx +++ b/web/src/pages/Home.tsx @@ -22,7 +22,7 @@ const Home: FunctionComponent = () => {
You can also view usage stats and metrics for the bot here - , or check out + , or check out its GitHub repository.