MCPcopy Create free account
hub / github.com/devoxin/Lavalink.py / __init__

Method __init__

examples/custom_source.py:29–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27
28class CustomSource(Source):
29 def __init__(self):
30 super().__init__(name='custom') # Initialising our custom source with the name 'custom'.
31
32 async def load_item(self, client, query: str):
33 if 'keyword' in query:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected