[Audio] DJ role should ask for a role (#2606)

This commit is contained in:
aikaterna 2019-04-23 15:41:46 -07:00 committed by Will
parent 49af94334e
commit 0ff7259bc3

View File

@ -293,7 +293,7 @@ class Audio(commands.Cog):
DJ mode allows users with the DJ role to use audio commands. DJ mode allows users with the DJ role to use audio commands.
""" """
dj_role_id = await self.config.guild(ctx.guild).dj_role() dj_role_id = await self.config.guild(ctx.guild).dj_role()
if dj_role_id is None and ctx.guild.get_role(dj_role_id): if dj_role_id is None:
await self._embed_msg( await self._embed_msg(
ctx, _("Please set a role to use with DJ mode. Enter the role name or ID now.") ctx, _("Please set a role to use with DJ mode. Enter the role name or ID now.")
) )