Adapted functions to new help on error

This commit is contained in:
Twentysix
2016-02-18 15:00:59 +01:00
parent 0fc8a95158
commit abaf1778c7
3 changed files with 17 additions and 13 deletions

View File

@@ -3,6 +3,8 @@ from discord.ext import commands
from .utils.dataIO import fileIO
from .utils import checks
from random import randint
from copy import deepcopy
from __main__ import send_cmd_help
import os
import time
@@ -31,7 +33,7 @@ class Economy:
async def _bank(self, ctx):
"""Bank operations"""
if ctx.invoked_subcommand is None:
await self.bot.say("Type help bank for info.")
await send_cmd_help(ctx)
@_bank.command(pass_context=True, no_pm=True)
async def register(self, ctx):