mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-29 11:30:51 +12:00
update from api changes
This commit is contained in:
parent
dc7db04a12
commit
70fc0c612a
|
@ -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_long(single_track, guild_data["maxlength"]):
|
if self.is_track_too_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