Linux openmediavault 6.12.32+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.32-1~bpo12+1 (2025-06-21) x86_64 GNU/Linux
This commit is contained in:
parent
59ce219183
commit
fcb1a9782a
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -352,7 +352,7 @@ async def help(ctx: commands.Context) -> None:
|
||||||
@app_commands.describe(locale="Choose your language")
|
@app_commands.describe(locale="Choose your language")
|
||||||
async def setlanguage(ctx: commands.Context, locale: str) -> None:
|
async def setlanguage(ctx: commands.Context, locale: str) -> None:
|
||||||
if ctx.author.id != ownerid:
|
if ctx.author.id != ownerid:
|
||||||
await ctx.send(":thumbsdown:")
|
await ctx.send(":thumbsdown:")
|
||||||
return
|
return
|
||||||
await ctx.defer()
|
await ctx.defer()
|
||||||
set_language(locale)
|
set_language(locale)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue