Compare commits

...

2 commits

Author SHA1 Message Date
Lea 3a1e701503
update github urls 2023-06-28 15:50:57 +02:00
Lea 600e0a1d16
my bad 2023-06-28 09:46:40 +02:00
14 changed files with 29 additions and 29 deletions

View file

@ -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

View file

@ -23,7 +23,7 @@
"log75": "^2.2.0",
"monk": "^7.3.4",
"prom-client": "^14.0.1",
"revolt-api": "0.5.19",
"revolt-api": "0.6.3",
"revolt.js": "^7.0.0",
"ulid": "^2.3.0",
"xlsx": "^0.17.3"

View file

@ -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(

View file

@ -254,7 +254,7 @@ export default {
return await message.reply({
embeds: [
embed(
"This channel is bridged to Discord. Please refer to the [Privacy Policy](<https://github.com/janderedev/automod/wiki/Privacy-Policy>) for more info.",
"This channel is bridged to Discord. Please refer to the [Privacy Policy](<https://github.com/sussycatgirl/automod/wiki/Privacy-Policy>) for more info.",
"Bridge Status",
EmbedColor.Success
),

View file

@ -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 {

View file

@ -263,7 +263,7 @@ const notifyPublicServers = async () => {
discoverAutospamNotify: { $in: [ undefined, false ] },
});
res.forEach(async (serverConfig) => {
for (const serverConfig of res) {
try {
logger.info(`Sending notification to owner of server ${serverConfig.id}`);
@ -293,7 +293,7 @@ Thanks for being part of Revolt!`);
} catch(e) {
console.error(e);
}
});
}
}
awaitClient().then(() => notifyPublicServers());

View file

@ -806,14 +806,14 @@ __metadata:
languageName: node
linkType: hard
"revolt-api@npm:0.5.19, revolt-api@npm:^0.5.19":
version: 0.5.19
resolution: "revolt-api@npm:0.5.19"
"revolt-api@npm:0.6.3":
version: 0.6.3
resolution: "revolt-api@npm:0.6.3"
dependencies:
"@insertish/oapi": 0.1.18
axios: ^0.26.1
lodash.defaultsdeep: ^4.6.1
checksum: 063a06fe73cb9650779ed367e9d850e690e1c8dda644050859f6b00b0de01f8c4486521a407ce49e4b6ed699b6e69d17151c4ff4c55dbd2fff034fa30f1462ea
checksum: b568df2a05e2a4a9a5eb2ccb88a032d1f5e2e390471852e6f2ba366c6c2fb1c78f38af16f1f57768c4743f07b9d165eda3658c664c025d27f32ef00ecf33942b
languageName: node
linkType: hard
@ -831,7 +831,7 @@ __metadata:
log75: ^2.2.0
monk: ^7.3.4
prom-client: ^14.0.1
revolt-api: 0.5.19
revolt-api: 0.6.3
revolt.js: ^7.0.0
typescript: ^4.4.3
ulid: ^2.3.0
@ -849,7 +849,7 @@ __metadata:
eventemitter3: ^5.0.0
isomorphic-ws: ^5.0.0
long: ^5.2.1
revolt-api: ^0.5.19
revolt-api: 0.6.3
solid-js: ^1.7.3
typedoc: ^0.24.1
ulid: ^2.3.0

View file

@ -24,7 +24,7 @@
"log75": "^2.2.0",
"monk": "^7.3.4",
"prom-client": "^14.0.1",
"revolt-api": "0.5.19",
"revolt-api": "0.6.3",
"revolt.js": "^7.0.0",
"smart-replace": "^1.0.2",
"ulid": "^2.3.0"

View file

@ -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})!`
);

View file

@ -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 (<https://revolt.chat>) 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: <https://github.com/janderedev/automod/wiki/Privacy-Policy>\n\n" +
"Before using AutoMod, please make sure you have read the privacy policy: <https://github.com/sussycatgirl/automod/wiki/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<string> {
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",
},
});

View file

@ -270,7 +270,7 @@ __metadata:
log75: ^2.2.0
monk: ^7.3.4
prom-client: ^14.0.1
revolt-api: 0.5.19
revolt-api: 0.6.3
revolt.js: ^7.0.0
smart-replace: ^1.0.2
typescript: ^4.7.4
@ -782,14 +782,14 @@ __metadata:
languageName: node
linkType: hard
"revolt-api@npm:0.5.19, revolt-api@npm:^0.5.19":
version: 0.5.19
resolution: "revolt-api@npm:0.5.19"
"revolt-api@npm:0.6.3":
version: 0.6.3
resolution: "revolt-api@npm:0.6.3"
dependencies:
"@insertish/oapi": 0.1.18
axios: ^0.26.1
lodash.defaultsdeep: ^4.6.1
checksum: 063a06fe73cb9650779ed367e9d850e690e1c8dda644050859f6b00b0de01f8c4486521a407ce49e4b6ed699b6e69d17151c4ff4c55dbd2fff034fa30f1462ea
checksum: b568df2a05e2a4a9a5eb2ccb88a032d1f5e2e390471852e6f2ba366c6c2fb1c78f38af16f1f57768c4743f07b9d165eda3658c664c025d27f32ef00ecf33942b
languageName: node
linkType: hard
@ -803,7 +803,7 @@ __metadata:
eventemitter3: ^5.0.0
isomorphic-ws: ^5.0.0
long: ^5.2.1
revolt-api: ^0.5.19
revolt-api: 0.6.3
solid-js: ^1.7.3
typedoc: ^0.24.1
ulid: ^2.3.0

Binary file not shown.

@ -1 +1 @@
Subproject commit 86995a45a3433ef30bc7ece94b18cfbacd80bd67
Subproject commit 24d83ad41267313a5e4d256087536a19773b5234

View file

@ -22,7 +22,7 @@ const Home: FunctionComponent = () => {
<br />
You can also view usage stats and metrics for the bot <a href="https://grafana.janderedev.xyz/d/lC_-g_-nz/automod" target='_blank'>
here
</a>, or check out <a href="https://github.com/janderedev/automod" target='_blank'>
</a>, or check out <a href="https://github.com/sussycatgirl/automod" target='_blank'>
its GitHub repository.
</a>
</span>