✨
This commit is contained in:
12
gwendolyn/ext/better_netflix.py
Normal file
12
gwendolyn/ext/better_netflix.py
Normal file
@ -0,0 +1,12 @@
|
||||
from interactions import Extension, slash_command, SlashContext
|
||||
from gwendolyn.utils import PARAMS as params
|
||||
|
||||
class BetterNeflixExtension(Extension):
|
||||
"""Contains the Better Netflix commands."""
|
||||
@slash_command(**params["better_netflix"]["movie"])
|
||||
async def movie(self, ctx: SlashContext):
|
||||
await self.bot.better_netflix.movie(ctx)
|
||||
|
||||
@slash_command(**params["better_netflix"]["show"])
|
||||
async def show(self, ctx: SlashContext):
|
||||
await self.bot.better_netflix.show(ctx)
|
Reference in New Issue
Block a user