mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-26 18:10:26 +12:00
update from audio api changes
This commit is contained in:
parent
70fc0c612a
commit
eef391c268
|
@ -173,7 +173,7 @@
|
||||||
ctx, title=_("This track is not allowed in this server.")
|
ctx, title=_("This track is not allowed in this server.")
|
||||||
)
|
)
|
||||||
elif guild_data["maxlength"] > 0:
|
elif guild_data["maxlength"] > 0:
|
||||||
if self.is_track_too_allowed(single_track, guild_data["maxlength"]):
|
if self.is_track_length_allowed(single_track, guild_data["maxlength"]):
|
||||||
player.add(ctx.author, single_track)
|
player.add(ctx.author, single_track)
|
||||||
player.maybe_shuffle()
|
player.maybe_shuffle()
|
||||||
self.bot.dispatch(
|
self.bot.dispatch(
|
||||||
|
|
Loading…
Reference in a new issue