initial commit
This commit is contained in:
21
countdown.py~
Normal file
21
countdown.py~
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user