mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
[V3 Dev] Fix repl command sanitize api keys (#2613)
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user