from disnake.ext import commands import disnake import db import httpx from datetime import datetime from loguru import logger import sb_utils import sb_emojis class PTest(commands.Cog): def __init__(self,bot): self.bot = bot @commands.slash_command() async def test(self,inter: disnake.ApplicationCommandInteraction): user = await inter.bot.fetch_user(inter.author.id) await inter.send(user.banner) def setup(bot): logger.info(f"{__name__} Loaded") bot.add_cog(PTest(bot))