From 4dcaa7a3cf262216b1ebe3db1885ff174308e301 Mon Sep 17 00:00:00 2001 From: arandomnewaccount <68355905+arandomnewaccount@users.noreply.github.com> Date: Wed, 11 Nov 2020 22:05:54 -0500 Subject: [PATCH] Update readme.md --- readme.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 599e6ae..2008595 100644 --- a/readme.md +++ b/readme.md @@ -42,7 +42,7 @@ session_settings = bot.read(update=False) guildIDs = bot.getGuildIDs(update=False) bot.log = False messageData = bot.sendMessage("383003333751856129","Hello You :)") -latest_messages = bot._Client__gateway_server.run( +data = bot._Client__gateway_server.run( [ { "send": [], @@ -57,12 +57,13 @@ latest_messages = bot._Client__gateway_server.run( ], } ], - limit: 10, + "limit": 10, } ], - log=True, + log=False, ) #the "limit" above refers to number of seconds +latest_messages = bot._Client__gateway_server.collected #collected messages ``` ### bonus features: