Skip to content

Commit

Permalink
Update rolenotifier.py
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Tasty-Jaffa authored Mar 23, 2018
1 parent f7e8289 commit 86b3467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rolenotifier/rolenotifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async def list_roles(self, ctx):
@checks.admin_or_permissions(manage_roles=True)
async def remove_roles(self, ctx, role_name):
"""Removes roles from notifications, use `[p]listroles` to find out what roles are set to be notifified"""
await self.bot.send_message("This will remove the `{}` role and people who gain this role will no longer be notified. \n\n__are you sure you want this? **y/n**__".format(role_name))
await self.bot.send_message(ctx.message.channel, "This will remove the `{}` role and people who gain this role will no longer be notified. \n\n__are you sure you want this? **y/n**__".format(role_name))
response = await self.bot.wait_for_message(channel = ctx.message.channel, author = ctx.message.author)
if response.lower() == 'y':
try:
Expand Down

0 comments on commit 86b3467

Please sign in to comment.