forked from gooberinc/goober
changed string type for value
This commit is contained in:
parent
13038e3d20
commit
b67aebd9b1
1 changed files with 7 additions and 7 deletions
|
@ -75,7 +75,7 @@ class BaseCommands(commands.Cog):
|
|||
await ctx.defer()
|
||||
k.change_language(locale)
|
||||
|
||||
settings["locale"] = locale # type: ignore
|
||||
settings["locale"] = locale # type: ignore
|
||||
settings_manager.commit()
|
||||
|
||||
await ctx.send(":thumbsup:")
|
||||
|
@ -141,12 +141,12 @@ class BaseCommands(commands.Cog):
|
|||
|
||||
embed.add_field(
|
||||
name=f"{k.command_stats_embed_field3name()}",
|
||||
value=f'{k.command_stats_embed_field3value(
|
||||
NAME=settings["name"], PREFIX=settings["bot"]["prefix"], ownerid=settings["bot"]["owner_ids"][0],
|
||||
PING_LINE=settings["bot"]["misc"]["ping_line"], showmemenabled=settings["bot"]["allow_show_mem_command"],
|
||||
USERTRAIN_ENABLED=settings["bot"]["user_training"], song=settings["bot"]["misc"]["active_song"],
|
||||
splashtext=splash_text
|
||||
)}',
|
||||
value=f"""{k.command_stats_embed_field3value(
|
||||
NAME=settings["name"], PREFIX=settings["bot"]["prefix"], ownerid=settings["bot"]["owner_ids"][0],
|
||||
PING_LINE=settings["bot"]["misc"]["ping_line"], showmemenabled=settings["bot"]["allow_show_mem_command"],
|
||||
USERTRAIN_ENABLED=settings["bot"]["user_training"], song=settings["bot"]["misc"]["active_song"],
|
||||
splashtext=splash_text
|
||||
)}""",
|
||||
inline=False,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue