This commit is contained in:
un1xx committed 2024-06-10 19:13:53 +05:30
1 parent 783b38e28d
commit 32ee918415
10 files changed
+88 -71

No files matched your search

+3 -5
View File
@@ -11,11 +11,12 @@ from typing import List, Literal, Optional, Union
import aiofiles
import discord
import pytz
from botclass import CustomCtx, Brahmos
from discord.ext import commands
from jishaku.codeblocks import codeblock_converter
from psutil import Process
from botclass import Brahmos, CustomCtx
try:
import uvloop
except:
@@ -65,7 +66,7 @@ discord_format = Formatter("%(message)s")
discord_handler = DiscordHandler(
bot.name,
webhook_url,
#avatar_url=,
# avatar_url=,
)
# discord_handler = DiscordHandler("Happy Bot", webhook_url, emojis={})
@@ -105,7 +106,6 @@ class Main(commands.Cog):
pass
await ctx.send(content)
@commands.command(name="reload", hidden=True)
@commands.is_owner()
async def reloadexts(self, ctx: commands.Context):
@@ -234,8 +234,6 @@ class Main(commands.Cog):
await ctx.send(f"Synced the tree to {ret}/{len(guilds)}.")
async def main():
async with bot:
await bot.add_cog(Main(bot))