some minor changes in few things
This commit is contained in:
parent
d187177908
commit
b7ed8ffae7
24 changed files with 156 additions and 211 deletions
utils/functions
|
@ -5,8 +5,6 @@ class commandsPlus(commands.Command):
|
|||
def __init__(self, func, **kwargs):
|
||||
super().__init__(func, **kwargs)
|
||||
self.category = kwargs.get("category", 'other')
|
||||
self.help = kwargs.get("help", 'No Help Provided')
|
||||
self.usage = kwargs.get("usage", 'No Usage Provided')
|
||||
|
||||
|
||||
def commandExtra(*args, **kwargs):
|
||||
|
@ -17,9 +15,6 @@ class GroupPlus(commands.Group):
|
|||
def __init__(self, func, **kwargs):
|
||||
super().__init__(func, **kwargs)
|
||||
self.category = kwargs.get("category", 'other')
|
||||
self.help = kwargs.get("help", 'No Help Provided')
|
||||
self.usage = kwargs.get("usage", 'No Usage Provided')
|
||||
|
||||
|
||||
def groupExtra(*args, **kwargs):
|
||||
return commands.group(*args, **kwargs, cls=GroupPlus)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue