mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-18 19:32:29 +12:00
printing error in prefixes
This commit is contained in:
parent
aabc938434
commit
d26489adbd
|
@ -45,7 +45,7 @@ class Markov(commands.Cog):
|
|||
await ctx.send("Current Prefixes: " + humanize_list(curr))
|
||||
return
|
||||
|
||||
prefixes = [p for p in prefixes.split(" ")]
|
||||
prefixes = [p for p in prefixes.split(" ") if p != ""]
|
||||
await self.config.guild(ctx.guild).prefixes.set(prefixes)
|
||||
prefixes = [f"`{p}`" for p in prefixes]
|
||||
await ctx.send("Prefixes set to: " + humanize_list(prefixes))
|
||||
|
|
Loading…
Reference in a new issue