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/booster.py
Normal file
35
bot/cogs/zyrox/booster.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 BOOST
|
||||
from discord .ext import commands
|
||||
|
||||
|
||||
class __boost(commands .Cog ):
|
||||
def __init__ (self ,bot ):
|
||||
self .bot =bot
|
||||
|
||||
"""Boost commands"""
|
||||
|
||||
def help_custom (self ):
|
||||
emoji =BOOST
|
||||
label ="Boost Commands"
|
||||
description ="Show you the commands of boost"
|
||||
return emoji ,label ,description
|
||||
|
||||
@commands .group ()
|
||||
async def __Boost__ (self ,ctx :commands .Context ):
|
||||
"""`boost setup` , `boost message` , `boost channel` , `boostrole` , `boost config`"""
|
||||
pass
|
||||
Reference in New Issue
Block a user