small formatting changes

This commit is contained in:
2023-11-17 19:03:31 +00:00
parent 7a536a9cfb
commit a772460827
3 changed files with 248 additions and 248 deletions

View File

@ -13,13 +13,12 @@ client = discord.Client(intents=intents)
@client.event
async def on_ready():
print(f"Logged in as {client.user.name} running gpt-3.5-turbo-0613.")
print(f"Logged in as {client.user.name} running gpt-3.5-turbo-0613.", flush=True)
@client.event
async def on_message(message):
if message.author == client.user:
return
if message.content.lower().startswith("hey money") or isinstance(message.channel, discord.DMChannel):
question = message.content[9:] if message.content.lower().startswith("hey money") else message.content
try: