Skip to content

Commit

Permalink
[V2 BetterMod] Still missing arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
retke committed May 21, 2018
1 parent 117b07c commit b6d29d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bettermod/bettermod.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ async def mention(self, ctx, role: str = None):
Give no argument to disable mention."""

if ctx.message.server.id not in self.settings:
await self.init(ctx.message.server)
await self.init(ctx.message.server, ctx)

if role is None:
self.settings[ctx.message.server.id]["role"] = None
Expand Down Expand Up @@ -425,7 +425,7 @@ async def proof(self, ctx):
server = ctx.message.server

if ctx.message.server.id not in self.settings:
await self.init(ctx.message.server)
await self.init(ctx.message.server, ctx)

if self.settings[server.id]['proof'] is False:
self.settings[server.id]['proof'] = True
Expand Down

0 comments on commit b6d29d9

Please sign in to comment.