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:
42
bot/cogs/zyrox/inviteTracker.py
Normal file
42
bot/cogs/zyrox/inviteTracker.py
Normal file
@@ -0,0 +1,42 @@
|
||||
# ╔══════════════════════════════════════════════════════════════════╗
|
||||
# ║ ║
|
||||
# ║ ░█▀▀░█▀█░█▀▄░█▀▀░█░█ ░█▀▄░█▀▀░█░█░█▀▀ ║
|
||||
# ║ ░█░░░█░█░█░█░█▀▀░▄▀▄ ░█░█░█▀▀░▀▄▀░▀▀█ ║
|
||||
# ║ ░▀▀▀░▀▀▀░▀▀░░▀▀▀░▀░▀ ░▀▀░░▀▀▀░░▀░░▀▀▀ ║
|
||||
# ║ ║
|
||||
# ║ © 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 ZPEOPLE
|
||||
|
||||
from discord.ext import commands
|
||||
|
||||
class inviteTracker(commands.Cog):
|
||||
|
||||
def __init__(self, bot):
|
||||
|
||||
self.bot = bot
|
||||
|
||||
"""Invite Tracker"""
|
||||
|
||||
def help_custom(self):
|
||||
|
||||
emoji = ZPEOPLE
|
||||
|
||||
label = "Invite Tracker"
|
||||
|
||||
description = "Show you Commands of Invite Tracker"
|
||||
|
||||
return emoji, label, description
|
||||
|
||||
@commands.group()
|
||||
|
||||
async def __InviteTracker__(self, ctx: commands.Context):
|
||||
|
||||
"""`>invites`, `>addinvites`, `>inviteleaderboard`, `>invitelogging`"""
|
||||
Reference in New Issue
Block a user