Docstring missing for class
SpotifyAudioTrack
1from lavalink import DeferredAudioTrack, LoadResult, LoadType, LoadError
2
3
4class SpotifyAudioTrack(DeferredAudioTrack): 5 # A DeferredAudioTrack allows us to load metadata now, and a playback URL later.
6 # This makes the DeferredAudioTrack highly efficient, particularly in cases
7 # where large playlists are loaded.
Docstring missing for class
SourceManager
332 )
333
334
335class SourceManager(Source):336 def __init__(self):
337 super().__init__(name='LavaSourceManager')
338
Docstring missing for class
YTDLSource
283 return audio_url, title
284
285
286class YTDLSource(BaseSource):287 def __init__(self):
288 super().__init__()
289
Docstring missing for class
BilibiliSource
233 return None
234
235
236class BilibiliSource(BaseSource):237 def __init__(self):
238 super().__init__()
239
Docstring missing for class
SpotifySource
39 raise NotImplementedError
40
41
42class SpotifySource(BaseSource): 43 def __init__(self):
44 super().__init__()
45
Docstring missing for class
BaseSource
14from library.variables import Variables
15
16
17class BaseSource: 18 def __init__(self):
19 """
20 Inits the source
Docstring missing for class
BotNotInVoice
5 pass
6
7
8class BotNotInVoice(Exception): 9 pass
10
11
Docstring missing for class
MissingVoicePermissions
9 pass
10
11
12class MissingVoicePermissions(Exception):13 pass
14
15
Docstring missing for class
UserInDifferentChannel
13 pass
14
15
16class UserInDifferentChannel(Exception):17 def __init__(self, voice: Connectable, *args):
18 self.voice = voice
19
Docstring missing for class
LoadError
20 super().__init__(*args)
21
22
23class LoadError(Exception):24 pass
Docstring missing for class
UserNotInVoice
1from disnake.abc import Connectable
2
3
4class UserNotInVoice(Exception): 5 pass
6
7
Docstring missing for class
InfoEmbed
6 super().__init__(title="✅ | " + title, description=description, color=0x0f9d58, **kwargs)
7
8
9class InfoEmbed(Embed):10 def __init__(self, title: str, description: str = None, **kwargs):
11 super().__init__(title="ℹ️ | " + title, description=description, color=0x4285f4, **kwargs)
12
Docstring missing for class
LoadingEmbed
11 super().__init__(title="ℹ️ | " + title, description=description, color=0x4285f4, **kwargs)
12
13
14class LoadingEmbed(Embed):15 def __init__(self, title: str, description: str = None, **kwargs):
16 super().__init__(title="⌛ | " + title, description=description, color=0x4285F4, **kwargs)
17
Docstring missing for class
ErrorEmbed
21 super().__init__(title="⚠ | " + title, description=description, color=0xf4b400, **kwargs)
22
23
24class ErrorEmbed(Embed):25 def __init__(self, title: str, description: str = None, **kwargs):
26 super().__init__(title="❌ | " + title, description=description, color=0xdb4437, **kwargs)
Docstring missing for class
SuccessEmbed
1from disnake import Embed
2
3
4class SuccessEmbed(Embed): 5 def __init__(self, title: str, description: str = None, **kwargs):
6 super().__init__(title="✅ | " + title, description=description, color=0x0f9d58, **kwargs)
7
Docstring missing for class
WarningEmbed
16 super().__init__(title="⌛ | " + title, description=description, color=0x4285F4, **kwargs)
17
18
19class WarningEmbed(Embed):20 def __init__(self, title: str, description: str = None, **kwargs):
21 super().__init__(title="⚠ | " + title, description=description, color=0xf4b400, **kwargs)
22
Docstring missing for class
Bot
7from library.sources.source import SourceManager
8
9
10class Bot(OriginalBot):11 def __init__(self, **kwargs):
12 super().__init__(**kwargs)
13
Docstring missing for class
Events
14from library.functions import update_display, ensure_voice, toggle_autoplay, get_recommended_track
15
16
17class Events(Cog): 18 def __init__(self, bot: Bot):
19 self.bot = bot
20
Docstring missing for class
Commands
22}
23
24
25class Commands(Cog): 26 def __init__(self, bot: Bot):
27 self.bot = bot
28
Description
Class docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.