[V3] DM usage fixes (#1919)

* DM usage fixes

* ...

* ...

* ...

* ok, formatting...
This commit is contained in:
Michael H
2018-07-11 20:46:14 -04:00
committed by Kowlin
parent c0d01f32a6
commit 35149f8837
5 changed files with 15 additions and 8 deletions

View File

@@ -137,6 +137,7 @@ class Economy:
self.config.register_role(**self.default_role_settings)
self.slot_register = defaultdict(dict)
@guild_only_check()
@commands.group(name="bank")
async def _bank(self, ctx: commands.Context):
"""Bank operations"""
@@ -209,7 +210,6 @@ class Economy:
)
@_bank.command()
@guild_only_check()
@check_global_setting_guildowner()
async def reset(self, ctx, confirmation: bool = False):
"""Deletes bank accounts"""
@@ -230,8 +230,8 @@ class Economy:
)
)
@commands.command()
@guild_only_check()
@commands.command()
async def payday(self, ctx: commands.Context):
"""Get some free currency"""
author = ctx.author