forked from gooberinc/goober
added decorator to mem command
This commit is contained in:
parent
ade9d88086
commit
9f79928efd
3 changed files with 16 additions and 3 deletions
|
@ -148,6 +148,7 @@ class BaseCommands(commands.Cog):
|
||||||
|
|
||||||
await send_message(ctx, embed=embed)
|
await send_message(ctx, embed=embed)
|
||||||
|
|
||||||
|
@requires_admin()
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def mem(self, ctx: commands.Context) -> None:
|
async def mem(self, ctx: commands.Context) -> None:
|
||||||
if not settings["bot"]["allow_show_mem_command"]:
|
if not settings["bot"]["allow_show_mem_command"]:
|
||||||
|
|
|
@ -33,5 +33,19 @@
|
||||||
"change": "enabled_cogs",
|
"change": "enabled_cogs",
|
||||||
"messageId": 1397558837644365935,
|
"messageId": 1397558837644365935,
|
||||||
"target": "songchanger"
|
"target": "songchanger"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "del",
|
||||||
|
"author": 642441889181728810,
|
||||||
|
"change": "owner_ids",
|
||||||
|
"messageId": 1397565241797382346,
|
||||||
|
"target": 642441889181728810
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "del",
|
||||||
|
"author": 642441889181728810,
|
||||||
|
"change": "owner_ids",
|
||||||
|
"messageId": 1397565617254699080,
|
||||||
|
"target": 642441889181728810
|
||||||
}
|
}
|
||||||
]
|
]
|
|
@ -1,9 +1,7 @@
|
||||||
{
|
{
|
||||||
"bot": {
|
"bot": {
|
||||||
"prefix": "ä.",
|
"prefix": "ä.",
|
||||||
"owner_ids": [
|
"owner_ids": [],
|
||||||
642441889181728810
|
|
||||||
],
|
|
||||||
"blacklisted_users": [],
|
"blacklisted_users": [],
|
||||||
"user_training": true,
|
"user_training": true,
|
||||||
"allow_show_mem_command": true,
|
"allow_show_mem_command": true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue