Update configuration and README for improved setup and security; disable default API and emoji sync, and enhance Discord permission checks in API routes.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
35
bot/cogs/zyrox/birth.py
Normal file
35
bot/cogs/zyrox/birth.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# ╔══════════════════════════════════════════════════════════════════╗
|
||||
# ║ ║
|
||||
# ║ ░█▀▀░█▀█░█▀▄░█▀▀░█░█ ░█▀▄░█▀▀░█░█░█▀▀ ║
|
||||
# ║ ░█░░░█░█░█░█░█▀▀░▄▀▄ ░█░█░█▀▀░▀▄▀░▀▀█ ║
|
||||
# ║ ░▀▀▀░▀▀▀░▀▀░░▀▀▀░▀░▀ ░▀▀░░▀▀▀░░▀░░▀▀▀ ║
|
||||
# ║ ║
|
||||
# ║ © 2026 CodeX Devs — All Rights Reserved ║
|
||||
# ║ ║
|
||||
# ║ discord ── https://discord.gg/codexdev ║
|
||||
# ║ youtube ── https://youtube.com/@CodeXDevs ║
|
||||
# ║ github ── https://github.com/RayExo ║
|
||||
# ║ ║
|
||||
# ╚══════════════════════════════════════════════════════════════════╝
|
||||
|
||||
import discord
|
||||
from utils.emoji import ZCIRCLE
|
||||
from discord .ext import commands
|
||||
|
||||
|
||||
class _birth(commands .Cog ):
|
||||
def __init__ (self ,bot ):
|
||||
self .bot =bot
|
||||
|
||||
"""Birthday commands"""
|
||||
|
||||
def help_custom (self ):
|
||||
emoji =ZCIRCLE
|
||||
label ="Birthday Commands"
|
||||
description ="Show you the commands of Birthday"
|
||||
return emoji ,label ,description
|
||||
|
||||
@commands.group ()
|
||||
async def __Birthday__ (self ,ctx :commands .Context ):
|
||||
"""`birthdaysetup` , `setbirthday` , `removebirthday` , `listbirthdays` , `birthday`"""
|
||||
pass
|
||||
Reference in New Issue
Block a user