Skip to content

Commit

Permalink
Merge pull request #559 from AmilieCoding/levels
Browse files Browse the repository at this point in the history
I started making a level command :3
  • Loading branch information
Atmois authored Sep 20, 2024
2 parents c9a526f + 16e7af7 commit 84dbe0a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions tux/cogs/fun/levels.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import discord
from discord.ext import commands

from tux.bot import Tux
from tux.ui.embeds import EmbedCreator

client = discord.Client


usermessages = []


class Levels(commands.Cog):
def __init__(self, bot: Tux) -> None:
self.bot = bot

@commands.hybrid_group(
name="level",
aliases=["lvl"],
)
@commands.guild_only()
async def main(self, ctx: commands.Context[Tux]) -> None:
embed = EmbedCreator.create_embed(
bot=self.bot,
embed_type=EmbedCreator.INFO,
user_name="Tux - EXP",
title="You are level level",
description="Your have exp exp!",
)

await ctx.send(embed=embed)


async def setup(bot: Tux) -> None:
await bot.add_cog(Levels(bot))

0 comments on commit 84dbe0a

Please sign in to comment.