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

Uploaded Python 3

File details

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

File metadata

  • Download URL: discord_alerts_kit-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 8db008b8aaf2505f82531f263fe401fa0fa2f235d0857f85007c7768706ce5da
MD5 ea76aaed8378cccd58d4802f54f0f8b9
BLAKE2b-256 7c36e27eba15e25c290d00ff2446a8c95327c70974a57d1e10031888f4bd3b61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discord_alerts_kit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e80d5de13950641ab7083f2eb8aa36c8c63e11304b7d66c761358e12f58fd150
MD5 c60465875fe0e56f8b5184ae8d796099
BLAKE2b-256 e3542a1102819af6b9026cf4b1771e01b0209e4fd922b4891c45a8186de9ca60

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