-
Notifications
You must be signed in to change notification settings - Fork 0
Commands Setup
Redmoogle edited this page Dec 21, 2020
·
1 revision
- Add Code snippets as needed
@commands.command(
name='COMMAND',
brief=''
)
async def COMMAND(self, ctx):
pass
import helpers # if you have pylint ignore E1101 ((no member error))
...
info = [
[field, value],...
]
embed=helpers.embed(title='TITLE', fields=info)
await ctx.send(embed=embed)
def check(ctx):
if(check)
return True
return False
...
@commands.check(check)