From 818aca5449b4d140792fb48ee547b0ece35a23a6 Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 1 Feb 2025 16:14:08 +0100 Subject: [PATCH] Changes. --- README.md | 6 +++--- pyproject.toml | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d840169..1fe131d 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ class ExampleBot(Bot): await self.send_message(data.channel_uid, result) async def on_message(self, data): - print(f"Message from f{data.user_nick}: {data.message}") + print(f"Message from {data.user_nick}: {data.message}") message = data.message.lower() result = None @@ -84,6 +84,6 @@ asyncio.run(bot.run()) #### Run the bot Make sure you have (still) activated your virtual env. ```bash -python bot.py +python [your-script].py ``` -If you get the error 'python not found' or 'aiohttp not found', run `source .venv/bin/activate` again and run `python bot.py` again. +If you get the error 'python not found' or 'aiohttp not found', run `source .venv/bin/activate` again and run `python [your script].py` again. diff --git a/pyproject.toml b/pyproject.toml index 2f4ca17..5f5de3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,6 @@ build-backend = "setuptools.build_meta" name = "snekbot" version = "1.0.0" readme = "README.md" -license = { file = "LICENSE", content-type="text/markdown" } description = "Bot API for Snek chat" authors = [ { name = "retoor", email = "retoor@molodetz.nl" }