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.4.0.tar.gz (4.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.4.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discord_alerts_kit-0.4.0.tar.gz
  • Upload date:
  • Size: 4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 f9bdb8df9e8602e60a8c52172991652ea344ffbcd4f97f87da2c304d595afef4
MD5 6c795b6161e832c2af70bca94f5f3203
BLAKE2b-256 b0cb9343a0d2ce0ba46abdb18e4245ba2e0ceddd4330001c9072af806f1e8163

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discord_alerts_kit-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fcd7be1ae799aaafffe41c6712582fc6e9ee1d419f331075b2fe28fc69d275f
MD5 438e1e4c01fad3a22a09b6b19eb4707a
BLAKE2b-256 d540cbd1b78290b41a98ed802cdcccf1bb72a7f8d547f560ef0f67a5491c2b14

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