From e9ee8cadb27b2b2e34aae0f0fa22ec173f43d8f0 Mon Sep 17 00:00:00 2001 From: Klemek Date: Fri, 6 Nov 2020 20:22:05 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 18c322d..ebc9413 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ bot.start() # blocking function Register a custom function to be called on a certain keyword. -> Note : You can override the "help" and "info" command by your own. +> Note : You can override the "help" and "info" commands by your own. ```python async def hello(client: discord.client, message: discord.Message, *args: str): @@ -217,7 +217,7 @@ import asyncio async def message(client: discord.client, message: discord.Message): if "catapult" in message.content: sent_msg = await message.channel.send(f"{message.author.mention} No profanity on this server") - if await delete_message(message): # False if "manage messages" permission not allowed + if await delete_message(message): await asyncio.sleep(5) await delete_message(sent_msg) ``` @@ -226,7 +226,7 @@ async def message(client: discord.client, message: discord.Message): Helps identify where the discussion is happening (Might be used as a key in a state dictionary) -A user on multiple channels will have a unique id on each. +An user on multiple channels will have a unique id on each. ```python from miniscord import channel_id, sender_id