v0.0.6\nplay_audio fixes
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import random
|
||||
from itertools import islice
|
||||
from typing import List
|
||||
|
||||
import disnake
|
||||
from disnake import OptionChoice, Option, OptionType
|
||||
@@ -13,7 +11,7 @@ from lib import play_audio
|
||||
|
||||
# todo: write chose audio from list by slash command
|
||||
class Audio(commands.Cog, name='Audio'):
|
||||
def __init__(self, bot):
|
||||
def __init__(self, bot: commands.Bot):
|
||||
self.bot = bot
|
||||
|
||||
@commands.Cog.listener()
|
||||
|
||||
Reference in New Issue
Block a user