Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Commit

Permalink
fix bug where message sending was still using old framework
Browse files Browse the repository at this point in the history
  • Loading branch information
jgayfer committed Dec 20, 2017
1 parent db2d919 commit 38ebdf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def event(self, ctx):

affected_rows = self.bot.db.create_event(title, start_time, time_zone, ctx.guild.id, description, max_members, ctx.author.id)
if affected_rows == 0:
await manager.send_private_message("An event with that name already exists!", dm=True)
await manager.send_private_message("An event with that name already exists!")
return await manager.clean_messages()

event_channel = await self.get_events_channel(ctx.guild)
Expand Down

0 comments on commit 38ebdf6

Please sign in to comment.