fix (economy): Add ward to balance cmd.
This commit is contained in:
@@ -91,7 +91,7 @@ class Economy(LionCog):
|
|||||||
name=_p('cmd:economy_balance', "balance"),
|
name=_p('cmd:economy_balance', "balance"),
|
||||||
description=_p(
|
description=_p(
|
||||||
'cmd:economy_balance|desc',
|
'cmd:economy_balance|desc',
|
||||||
"Display and modify LionCoin balance for members or roles."
|
"Display or modify LionCoin balance for members and roles."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@appcmds.rename(
|
@appcmds.rename(
|
||||||
@@ -113,6 +113,7 @@ class Economy(LionCog):
|
|||||||
"New balance to set the target's balance to."
|
"New balance to set the target's balance to."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@low_management_ward
|
||||||
async def economy_balance_cmd(
|
async def economy_balance_cmd(
|
||||||
self,
|
self,
|
||||||
ctx: LionContext,
|
ctx: LionContext,
|
||||||
@@ -368,6 +369,7 @@ class Economy(LionCog):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
# TODO: Restrict view to the top 1000 so we don't murder the main thread
|
||||||
await ctx.interaction.response.defer()
|
await ctx.interaction.response.defer()
|
||||||
# Viewing route
|
# Viewing route
|
||||||
MemModel = self.bot.core.data.Member
|
MemModel = self.bot.core.data.Member
|
||||||
|
|||||||
Reference in New Issue
Block a user