diff --git a/extensions/chatgpt.py b/extensions/chatgpt.py index 5b948d3..2c71d52 100644 --- a/extensions/chatgpt.py +++ b/extensions/chatgpt.py @@ -208,7 +208,7 @@ class ChatGPT(commands.Cog): if ctx.author.get_role(self.premium_role): prompt = ctx.message.content.split(" ", maxsplit=1)[1] img_url = await self.get_dalle(prompt) - await ctx.send("Generated by: {ctx.author.name}\nPrompt: {prompt}\n{img_url}") + await ctx.send(f"Generated by: {ctx.author.name}\nPrompt: {prompt}\n{img_url}") else: await ctx.send("Sorry you must be a premium member to use this command. (!donate)") @@ -221,7 +221,7 @@ class ChatGPT(commands.Cog): if ctx.author.get_role(self.premium_role): prompt = ctx.message.content.split(" ", maxsplit=1)[1] img_url = await self.get_dalle(prompt, "dall-e-3") - await ctx.send("Generated by: {ctx.author.name}\nPrompt: {prompt}\n{img_url}") + await ctx.send(f"Generated by: {ctx.author.name}\nPrompt: {prompt}\n{img_url}") else: await ctx.send("Sorry you must be a premium member to use this command. (!donate)")