cleanup non-needed stuffs

This commit is contained in:
Irdumb 2016-04-07 11:36:29 +10:00
parent 4a9b3fcebb
commit 1f641f6ebf

View File

@ -20,9 +20,6 @@ class CustomCommands:
Example: Example:
!addcom yourcommand Text you want !addcom yourcommand Text you want
""" """
if text == ():
await send_cmd_help(ctx)
return
server = ctx.message.server server = ctx.message.server
content = ctx.message.content content = ctx.message.content
chars = (len(ctx.prefix), len(ctx.invoked_with), len(command)) chars = (len(ctx.prefix), len(ctx.invoked_with), len(command))
@ -47,9 +44,6 @@ class CustomCommands:
Example: Example:
!editcom yourcommand Text you want !editcom yourcommand Text you want
""" """
if text == ():
await send_cmd_help(ctx)
return
server = ctx.message.server server = ctx.message.server
content = ctx.message.content content = ctx.message.content
chars = (len(ctx.prefix), len(ctx.invoked_with), len(command)) chars = (len(ctx.prefix), len(ctx.invoked_with), len(command))