Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Bot Leave Server
#3
I can't test this code and haven't looked at the docs, but I would imagine that you have some persistent identifier and that your bot can list the users. When it joins, it should check if you're there (hard-code your ID or put it in config somewhere), and then either listen for events where people leave or it should poll (occasionally check the people who are current there).
Reply


Messages In This Thread
Python Bot Leave Server - by Demotry - May-15-2018, 07:15 AM
RE: Python Bot Leave Server - by Demotry - May-15-2018, 11:07 AM
RE: Python Bot Leave Server - by micseydel - May-16-2018, 07:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to take the tar backup files form remote server to local server sivareddy 0 2,019 Jul-14-2021, 01:32 PM
Last Post: sivareddy
  How to Remove Non-ASCII Characters But Leave Line Breaks In Place? bmccollum 4 4,563 Apr-09-2020, 07:59 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020