dev #2
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