mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3 Dev] Fix repl command sanitize api keys (#2613)
This commit is contained in:
parent
b95ddf18ba
commit
83ee7c5e92
@ -276,7 +276,8 @@ class Dev(commands.Cog):
|
|||||||
elif value:
|
elif value:
|
||||||
msg = "{}".format(value)
|
msg = "{}".format(value)
|
||||||
|
|
||||||
msg = self.sanitize_output(ctx, msg)
|
api_keys = await ctx.bot.db.api_tokens()
|
||||||
|
msg = self.sanitize_output(ctx, api_keys, msg)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await ctx.send_interactive(self.get_pages(msg), box_lang="py")
|
await ctx.send_interactive(self.get_pages(msg), box_lang="py")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user