diff --git a/src/cogs/ollama.py b/src/cogs/ollama.py index 98772fa..5c6ea29 100644 --- a/src/cogs/ollama.py +++ b/src/cogs/ollama.py @@ -1206,6 +1206,8 @@ class Ollama(commands.Cog): This command may take a long time. """ + if question: + question = f"@{ctx.author.display_name} asks: {question!r}" async with ctx.channel.typing(): await self.generate_truth(ctx, "trump", latest, question=question) @@ -1219,6 +1221,8 @@ class Ollama(commands.Cog): This command may take a long time. """ + if question: + question = f"@{ctx.author.display_name} asks: {question!r}" async with ctx.channel.typing(): await self.generate_truth(ctx, "tate", latest, question=question) @@ -1232,6 +1236,8 @@ class Ollama(commands.Cog): This command may take a long time. """ + if question: + question = f"@{ctx.author.display_name} asks: {question!r}" async with ctx.channel.typing(): await self.generate_truth(ctx, "Rishi Sunak", latest, question=question) @@ -1245,6 +1251,8 @@ class Ollama(commands.Cog): This command may take a long time. """ + if question: + question = f"@{ctx.author.display_name} asks: {question!r}" async with ctx.channel.typing(): await self.generate_truth(ctx, "Tommy Robinson 🇬🇧", latest, question=question) @@ -1258,6 +1266,8 @@ class Ollama(commands.Cog): This command may take a long time. """ + if question: + question = f"@{ctx.author.display_name} asks: {question!r}" async with ctx.channel.typing(): await self.generate_truth(ctx, "Laurence Fox", latest, question=question) @@ -1271,6 +1281,8 @@ class Ollama(commands.Cog): This command may take a long time. """ + if question: + question = f"@{ctx.author.display_name} asks: {question!r}" async with ctx.channel.typing(): await self.generate_truth(ctx, "Nigel Farage", latest, question=question) @@ -1284,6 +1296,8 @@ class Ollama(commands.Cog): This command may take a long time. """ + if question: + question = f"@{ctx.author.display_name} asks: {question!r}" async with ctx.channel.typing(): await self.generate_truth(ctx, "Keir Starmer", latest, question=question) @@ -1297,6 +1311,8 @@ class Ollama(commands.Cog): This command may take a long time. """ + if question: + question = f"@{ctx.author.display_name} asks: {question!r}" async with ctx.channel.typing(): await self.generate_truth(ctx, "Boris Johnson", latest, question=question)