From 85a1e2300bec01489cca37e8149876c4d5ffb38b Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 24 Dec 2022 14:46:23 -0500 Subject: [PATCH] Update help function --- src/on_message.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/on_message.py b/src/on_message.py index 83ff86f..02c55e3 100644 --- a/src/on_message.py +++ b/src/on_message.py @@ -6,6 +6,8 @@ import discord async def showHelp(very, useless, arguments): str = "```Usage:\n" + str += "!help\n" + str += " Print this message\n" str += "!meme [QUERY]\n" str += " Get a meme. Query for the exact name or search. Paramater is optional\n" str += "!memecount\n" @@ -14,12 +16,14 @@ async def showHelp(very, useless, arguments): str += " Get COUNT random memes. If COUNT is not provided, we default to 5\n" str += "!allmemes QUERY\n" str += " Get all memes that are like the given query\n" - str += "!help\n" - str += " Print this message\n" str += "!up [NAME]\n" str += " Upload a meme. If NAME is provided it will be named as such.\n" str += " You need to either attach the meme with the message, or reply to a\n" str += " message with the meme you want to upload\n" + str += "!blame [NAME/QUERY]\n" + str += " Returns who uploaded the meme that matches the name or query\n" + str += " You can also reply to a message with a meme attached\n" + str += " to find the uploader\n" str += "```" return str