Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.
/ Aggregator Public archive

Aggregator forwards messages from channels which follow announcement channels to a singular target channel in order to circumvent Discord's 15 webhook per channel limitation.

License

Notifications You must be signed in to change notification settings

Astralchroma/Aggregator

Repository files navigation

Aggregator

Aggregator forwards messages from channels which follow announcement channels to a singular target channel in order to circumvent Discord's 15 webhook per channel limitation.

Using Aggregator is simple. Simply use /redirect set and specify the channel and the target channel.

Links: Bot Invite / Discord Server / GitHub / Documentation

Development and Self-Hosting

Aggregator uses the Gradle build system, and as such building the project is easy as using ./gradlew build (Linux) or gradlew.bat (Windows). Users who want to self-host the bot are expected to build it themselves, no pre-built jar files will be provided.

The bot is written in Kotlin and uses MongoDB for data storage. There are not many contribution guidelines, just keep code clean. Yea, that lasted.

For simplicity, instead of using a configuration file, Aggregator gets its credentials and configuration from environment variables:

Name Description Example Value
DISCORD_TOKEN A bot authentication token provided by Discord. See Discord Documentation Lots of letters, numbers, and symbols.
MONGO_URI A MongoDB Connection URI. See MongoDB Documentation mongo://username:password@host:27017
MONGO_DATABASE The name of the MongoDB Database. aggregator
OWNER_SNOWFLAKE Optional, required for /data. Discord ID of the owner of the bot. See Discord Documentation 521031433972744193

About

Aggregator forwards messages from channels which follow announcement channels to a singular target channel in order to circumvent Discord's 15 webhook per channel limitation.

Resources

License

Stars

Watchers

Forks