22 lines
684 B
Python
22 lines
684 B
Python
#!/usr/bin/env python3
|
|
import os, random, requests, discord
|
|
from discord import app_commands
|
|
from discord.ext import commands
|
|
from datetime import datetime
|
|
from pathlib import Path
|
|
|
|
NIKAH_DAY = datetime(2026, 08, 02)
|
|
WALIMAH_DAY = datetime(2026, 08, 09)
|
|
|
|
docstring = """
|
|
This script sends daily countdown reminders via a Discord webhook about
|
|
the number of days remaining until two significant events: Nikah Day and
|
|
Walimah Day. It calculates the days left for each event and formats a
|
|
message to be sent to a specified Discord channel.
|
|
"""
|
|
|
|
# -----------------------------
|
|
# CONFIG
|
|
# -----------------------------
|
|
DISCORD_WEBHOOK_URL = "https://discordapp.com/api/webhooks/146000414
|