mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
String format failure when set invoked without subcommand (#2638)
This commit is contained in:
parent
bb6327d969
commit
52433d253f
@ -656,7 +656,7 @@ class Core(commands.Cog, CoreLogic):
|
|||||||
guild.get_role(await ctx.bot.db.guild(ctx.guild).mod_role()) or "Not set"
|
guild.get_role(await ctx.bot.db.guild(ctx.guild).mod_role()) or "Not set"
|
||||||
)
|
)
|
||||||
prefixes = await ctx.bot.db.guild(ctx.guild).prefix()
|
prefixes = await ctx.bot.db.guild(ctx.guild).prefix()
|
||||||
guild_settings = _("Admin role: {admin_role}\nMod role: {mod_role}\n").format(
|
guild_settings = _("Admin role: {admin}\nMod role: {mod}\n").format(
|
||||||
admin=admin_role, mod=mod_role
|
admin=admin_role, mod=mod_role
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user