diff --git a/main.py b/main.py index 3ec48b3..3c959bd 100644 --- a/main.py +++ b/main.py @@ -144,7 +144,7 @@ async def get_prefix(bot: commands.Bot, message: discord.Message) -> str: prefix = settings.get("prefix", func.settings.bot_prefix) # Allow owner to use the bot without a prefix - if not message.content.startswith(prefix) and (await bot.is_owner(message.author) or message.author.id in func.settings.bot_access_user): + if prefix and not message.content.startswith(prefix) and (await bot.is_owner(message.author) or message.author.id in func.settings.bot_access_user): return "" return prefix diff --git a/voicelink/placeholders.py b/voicelink/placeholders.py index d2d8632..92c577d 100644 --- a/voicelink/placeholders.py +++ b/voicelink/placeholders.py @@ -34,7 +34,7 @@ class Placeholders: "track_color": self.track_color, "track_requester_id": self.track_requester_id, "track_requester_name": self.track_requester_name, - "track_requester_metion": self.track_requester_mention, + "track_requester_mention": self.track_requester_mention, "track_requester_avatar": self.track_requester_avatar, "track_source_name": self.track_source_name, "track_source_emoji": self.track_source_emoji, diff --git a/voicelink/player.py b/voicelink/player.py index d58dfbb..48fc399 100644 --- a/voicelink/player.py +++ b/voicelink/player.py @@ -514,7 +514,7 @@ class Player(VoiceProtocol): if track.spotify: if not track.original: - search_results = await self._node.get_tracks(f"ytmsearch:{track.author} - {track.title}", requester=track.requester) + search_results = await self._node.get_tracks(f"ytsearch:{track.author} - {track.title}", requester=track.requester) if not search_results: raise TrackLoadError("Can't find a playable source!") track.original = search_results[0]