/TreinpositiesBot

Primary LanguageC#GNU Affero General Public License v3.0AGPL-3.0

TreinpositiesBot

Whenever someone says 3 or more digits, this bot will post a random image of a vehicle with that number on Treinposities.

It ignores numbers inside urls, mentions, and words, and understands spaces within the numbers.

It also supports Planespotters.

If you block the bot, it won't reply to your messages.

Docker deployment

Dockerfile in TreinpositiesBot folder, no additional dependencies.

Configuration is present in /app/appsettings.json. You may either mount your own file, or use envvars to override items in the configuration. Example:

  • Core__DiscordToken
  • Treinposities__BlockedPhotographers__0
  • Core__SourcesByGuild__805008823081107467__0

Consider restricting the bot to specific channels because my users love spamming this thing.