Skip to content

Commit

Permalink
Update innocent.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cheddar-cheeze authored Jul 21, 2018
1 parent e91c265 commit 807d721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions innocent.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ async def mall(ctx, *message):
if bot.user.id == ctx.message.author.id:
await bot.delete_message(ctx.message)
try:
for user in ctx.server.members:
bot.send_message(user, message)
for user in ctx.message.server.members:
await bot.send_message(user, message)
print("message sent to " + user.name)
except:
pass
Expand Down

0 comments on commit 807d721

Please sign in to comment.