mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Audio] DJ role should ask for a role (#2606)
This commit is contained in:
parent
49af94334e
commit
0ff7259bc3
@ -293,7 +293,7 @@ class Audio(commands.Cog):
|
||||
DJ mode allows users with the DJ role to use audio commands.
|
||||
"""
|
||||
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(
|
||||
ctx, _("Please set a role to use with DJ mode. Enter the role name or ID now.")
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user