mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-21 22:57:48 +00:00
Rebranding to TuneBot + updated pyproject.toml
This commit is contained in:
+4
-4
@@ -15,7 +15,7 @@ from discord.ext.commands.context import Context
|
||||
from lavalink.models import AudioTrack
|
||||
from lavalink.models import DefaultPlayer
|
||||
|
||||
from bot import ChristmasBot
|
||||
from bot import TuneBot
|
||||
from utils.classes import BaseCog
|
||||
from context import CustomContext
|
||||
from utils.database import AutoJoin
|
||||
@@ -245,8 +245,8 @@ class Music(BaseCog):
|
||||
if player.is_connected:
|
||||
await ctx.send("Already connected")
|
||||
return
|
||||
|
||||
await self.fill_player_queue(player, self.bot.config["queue_buffer_size"]+1)
|
||||
|
||||
await self.fill_player_queue(player, self.bot.config["queue_buffer_size"] + 1)
|
||||
|
||||
if not player.is_playing:
|
||||
await player.play()
|
||||
@@ -309,5 +309,5 @@ class Music(BaseCog):
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
|
||||
def setup(bot: ChristmasBot):
|
||||
def setup(bot: TuneBot):
|
||||
bot.add_cog(Music(bot))
|
||||
|
||||
Reference in New Issue
Block a user