@@ -47,11 +47,11 @@ def __init__(self, bot):
4747 super ().__init__ (bot )
4848
4949 @bot .has_permissions (administrator = True )
50- async def get_levelsystem (ctx : discord .commands . context . ApplicationContext ):
50+ async def get_levelsystem (ctx : discord .ApplicationContext ):
5151 return await ctx .respond (embed = await self .lvlsys_get_embed (ctx .guild ))
5252
5353 @bot .has_permissions (administrator = True )
54- async def set_levelsystem (ctx : discord .commands . context . ApplicationContext ,
54+ async def set_levelsystem (ctx : discord .ApplicationContext ,
5555 level : discord .commands .Option (
5656 int ,
5757 description = bot .i18n .get ('LEVELSYSTEM_SET_LEVEL_ROLE_LEVEL_OPTION' ),
@@ -68,7 +68,7 @@ async def set_levelsystem(ctx: discord.commands.context.ApplicationContext,
6868 return await ctx .respond (embed = await self .lvlsys_get_embed (ctx .guild ))
6969
7070 @bot .has_permissions (administrator = True )
71- async def remove_levelsystem (ctx : discord .commands . context . ApplicationContext ,
71+ async def remove_levelsystem (ctx : discord .ApplicationContext ,
7272 level : discord .commands .Option (
7373 int ,
7474 description = bot .i18n .get ('LEVELSYSTEM_REMOVE_LEVEL_ROLE_LEVEL_OPTION' ),
@@ -80,7 +80,7 @@ async def remove_levelsystem(ctx: discord.commands.context.ApplicationContext,
8080 return await ctx .respond (embed = await self .lvlsys_get_embed (ctx .guild ))
8181
8282 @bot .has_permissions (administrator = True )
83- async def boost_add (ctx : discord .commands . context . ApplicationContext ,
83+ async def boost_add (ctx : discord .ApplicationContext ,
8484 member : discord .commands .Option (
8585 discord .Member ,
8686 description = bot .i18n .get ('LEVELSYSTEM_BOOST_ADD_MEMBER_OPTION' ),
@@ -99,7 +99,7 @@ async def boost_add(ctx: discord.commands.context.ApplicationContext,
9999 color = discord .Color .green ()))
100100
101101 @bot .has_permissions (administrator = True )
102- async def set_level (ctx : discord .commands . context . ApplicationContext ,
102+ async def set_level (ctx : discord .ApplicationContext ,
103103 member : discord .commands .Option (
104104 discord .Member ,
105105 description = bot .i18n .get ('LEVELSYSTEM_SET_LEVEL_MEMBER_OPTION' ),
@@ -120,7 +120,7 @@ async def set_level(ctx: discord.commands.context.ApplicationContext,
120120 color = discord .Color .green ()))
121121
122122 @bot .has_permissions (administrator = True )
123- async def blacklist_user (ctx : discord .commands . context . ApplicationContext ,
123+ async def blacklist_user (ctx : discord .ApplicationContext ,
124124 member : discord .commands .Option (
125125 discord .Member ,
126126 description = bot .i18n .get ('LEVELSYSTEM_BLACKLIST_MEMBER_OPTION' ),
@@ -147,7 +147,7 @@ async def blacklist_user(ctx: discord.commands.context.ApplicationContext,
147147 color = discord .Color .green ()))
148148
149149 @bot .has_permissions (administrator = True )
150- async def blacklisted_users (ctx : discord .commands . context . ApplicationContext ):
150+ async def blacklisted_users (ctx : discord .ApplicationContext ):
151151 description = []
152152 for user in self .bot .db .get_blacklisted_level_users (ctx .guild .id , True ):
153153 member = get (ctx .guild .members , id = int (user .user_id ))
@@ -158,7 +158,7 @@ async def blacklisted_users(ctx: discord.commands.context.ApplicationContext):
158158 description = '\n ' .join (description ),
159159 color = discord .Color .green ()))
160160
161- async def leaderboard (ctx : discord .commands . context . ApplicationContext ):
161+ async def leaderboard (ctx : discord .ApplicationContext ):
162162 await ctx .defer ()
163163
164164 await ctx .respond (file = await self .create_leaderboard_image (ctx .author ))
0 commit comments