clairfy some wording
This commit is contained in:
parent
5d647ce4c0
commit
25718b3595
1 changed files with 3 additions and 3 deletions
6
bot.py
6
bot.py
|
@ -34,7 +34,7 @@ bot = commands.Bot(intents=intents, command_prefix=".", test_guilds=[int(os.gete
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
global queuetask
|
global queuetask
|
||||||
queuetask = asyncio.create_task(queuehandler()) #this will just fail but it establishes checks
|
queuetask = asyncio.create_task(queuehandler()) #this will set the waiting for videos image, then exit
|
||||||
|
|
||||||
def play_video(videourl):
|
def play_video(videourl):
|
||||||
driver.get(videourl)
|
driver.get(videourl)
|
||||||
|
@ -169,7 +169,7 @@ async def button_listener(inter: disnake.MessageInteraction):
|
||||||
|
|
||||||
@bot.slash_command(
|
@bot.slash_command(
|
||||||
name="toggleplayback",
|
name="toggleplayback",
|
||||||
description="pauses or unpauses the video",
|
description="pauses or unpauses the video, does not bypass the video timelimit",
|
||||||
)
|
)
|
||||||
async def toggleplayback(inter: disnake.AppCmdInter):
|
async def toggleplayback(inter: disnake.AppCmdInter):
|
||||||
await inter.response.defer(ephemeral=True)
|
await inter.response.defer(ephemeral=True)
|
||||||
|
@ -182,7 +182,7 @@ async def toggleplayback(inter: disnake.AppCmdInter):
|
||||||
|
|
||||||
@bot.slash_command(
|
@bot.slash_command(
|
||||||
name="skip",
|
name="skip",
|
||||||
description="skips the current video DON'T SKIP LESS THAN 18 SECONDS INTO A VIDEO",
|
description="skips the current video",
|
||||||
)
|
)
|
||||||
async def skip(inter: disnake.AppCmdInter):
|
async def skip(inter: disnake.AppCmdInter):
|
||||||
await inter.response.defer(ephemeral=False)
|
await inter.response.defer(ephemeral=False)
|
||||||
|
|
Loading…
Reference in a new issue