Update gettingGuildMembers.py
gotta connect to the gateway ofc...
@@ -21,6 +21,8 @@ def memberTest(resp):
bot.gateway.removeCommand(memberTest)
bot.gateway.close()
+bot.gateway.run()
+
for memberID in bot.gateway.session.guild('322850917248663552').members:
print(memberID)
@@ -42,6 +44,8 @@ def memberTest(resp):
bot.gateway.removeCommand(memberTest)
bot.gateway.close()
+bot.gateway.run()
+
for memberID in bot.gateway.session.guild('322850917248663552').members:
print(memberID)
