Skip to content

Commit 444791a

Browse files
authored
pre-push
1 parent 32ea316 commit 444791a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

discord_slash/cog_ext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def wrapper(cmd):
188188

189189
return wrapper
190190

191+
191192
def cog_context_menu(target: int, name: str, guild_ids: list = None):
192193
"""
193194
Decorator that adds context menu commands.
@@ -227,6 +228,7 @@ def wrapper(cmd):
227228

228229
return wrapper
229230

231+
230232
def permission(guild_id: int, permissions: list):
231233
"""
232234
Decorator that add permissions. This will set the permissions for a single guild, you can use it more than once for each command.

0 commit comments

Comments
 (0)