pomice/pomice/__init__.py

25 lines
734 B
Python

"""Pomice wrapper for Lavalink, made possible by cloudwithax 2021"""
import discord
if not discord.__version__.startswith("2.0"):
class DiscordPyOutdated(Exception):
pass
raise DiscordPyOutdated(
"You must have discord.py 2.0 or a discord.py fork that uses the 'discord' namespace "
"(a.k.a: you import the libary using 'import discord') to use this library. "
"Uninstall your current version and install discord.py 2.0 or a compatible fork."
)
__version__ = "1.1.6"
__title__ = "pomice"
__author__ = "cloudwithax"
from .enums import SearchType
from .events import *
from .exceptions import *
from .filters import *
from .objects import *
from .player import Player
from .pool import *