Compare commits
2 Commits
88e88c0ca2
...
3232e797c8
| Author | SHA1 | Date | |
|---|---|---|---|
|
3232e797c8
|
|||
|
1836785b05
|
@@ -90,7 +90,9 @@ async def pause(message):
|
||||
|
||||
async def fast_forward(message):
|
||||
tokens = commands.tokenize(message.content)
|
||||
parser = arguments.ArgumentParser(tokens[0], "skip the current sponsorblock segment")
|
||||
parser = arguments.ArgumentParser(
|
||||
tokens[0], "skip the current sponsorblock segment"
|
||||
)
|
||||
parser.add_argument(
|
||||
"-s",
|
||||
"--seconds",
|
||||
|
||||
@@ -139,8 +139,9 @@ async def queue_or_play(message, edited=False):
|
||||
and len(
|
||||
list(
|
||||
filter(
|
||||
lambda queued: queued.trigger_message.author.id
|
||||
== message.author.id,
|
||||
lambda queued: (
|
||||
queued.trigger_message.author.id == message.author.id
|
||||
),
|
||||
players[message.guild.id].queue,
|
||||
),
|
||||
),
|
||||
|
||||
6
core.py
6
core.py
@@ -167,9 +167,11 @@ def rreload(reloaded_modules, module):
|
||||
reloaded_modules.add(module.__name__)
|
||||
|
||||
for submodule in filter(
|
||||
lambda sm: inspect.ismodule(sm)
|
||||
lambda sm: (
|
||||
inspect.ismodule(sm)
|
||||
and sm.__name__ in RELOADABLE_MODULES
|
||||
and sm.__name__ not in reloaded_modules,
|
||||
and sm.__name__ not in reloaded_modules
|
||||
),
|
||||
vars(module).values(),
|
||||
):
|
||||
rreload(reloaded_modules, submodule)
|
||||
|
||||
4
extra.py
4
extra.py
@@ -31,9 +31,7 @@ async def transcript(
|
||||
):
|
||||
continue
|
||||
|
||||
while (
|
||||
players[message.guild.id].current.player.original.progress < line.start
|
||||
):
|
||||
while players[message.guild.id].current.player.original.progress < line.start:
|
||||
await asyncio.sleep(0.2)
|
||||
|
||||
messages.insert(
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
aiohttp
|
||||
audioop-lts
|
||||
disnake @ https://github.com/DisnakeDev/disnake/archive/master.tar.gz
|
||||
disnake[voice] @ https://github.com/DisnakeDev/disnake/archive/master.tar.gz
|
||||
disnake_paginator
|
||||
psutil
|
||||
PyNaCl
|
||||
youtube_transcript_api
|
||||
yt-dlp[default] @ https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user