Skip to main content

A simple Python library to build Discord alert bots in minutes

Project description

discord-alerts-kit

A simple Python library to build Discord alert bots in minutes.

No boilerplate, no headaches — just plug your data source and go.

Installation

pip install discord-alerts-kit

Quick Start

from discord_alerts_kit import AlertBot

bot = AlertBot(config_path="config.yaml")

@bot.add_source
def my_alerts():
    return [
        {
            "title": "🎮 Free Game!",
            "description": "GTA V is free on Epic Games",
            "url": "https://epicgames.com",
            "footer": "discord-alerts-kit"
        }
    ]

bot.run_bot()

Configuration

token: "YOUR_BOT_TOKEN"
prefix: "!"
alert_channel: 123456789
dm_subscribers: true
color: 0x00ff00

Features

  • 🔌 Plug any data source in one function
  • 📨 Auto DM subscribers
  • 🎨 Custom embeds with colors, thumbnails, fields
  • ⚙️ YAML config
  • 🔄 Auto check every 10 minutes

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discord_alerts_kit-0.2.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discord_alerts_kit-0.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file discord_alerts_kit-0.2.0.tar.gz.

File metadata

  • Download URL: discord_alerts_kit-0.2.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for discord_alerts_kit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4b7894861248801e39fb39f0c526d8b56aba79ad1140c4d309705627b907c747
MD5 deaa601ed192cee201a9373de54419b6
BLAKE2b-256 80b5dd7b3111514b82d08e053a07b3fb02fccd3ea067a20003472b08ef6202f6

See more details on using hashes here.

File details

Details for the file discord_alerts_kit-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for discord_alerts_kit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a65a9ef57f7b9cd733349cef7f07616c68c648ea7cfc4cfce511f6e81c548f6c
MD5 8f1b4f8cad63360017b44208357f52bd
BLAKE2b-256 b0a9fb39740d84bc5be7ee4e2dcee8331db152e53fbb711a9b564b1aaecc0d2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page