Skip to content

Instantly share code, notes, and snippets.

Reacting to Stuff

Évelyne Lachance eslachance

Reacting to Stuff
View GitHub Profile
eslachance /
Last active Jan 18, 2021
Getting Total/Online/Bots in a guild without privileged intents

Getting Online and Bot user counts without any privileged intents


  • A bot with MANAGE_WEBHOOKS permissions on the guild.


This code fetches the guild manually in order to get all of its values, including the approximateMemberCount (which is the semi-up-to-date value indicating how many members are on your guild) and the approximatePresenceCount which is the


The Flat Earth model is just plane wrong!

There's been so much arguments from flatties about how the "ball earth model" doesn't work and has no proof. Well, someone on the internet (not me, I can't take credit for this and I can't find the source) decided they had enough, and they made a list of all the massively obvious flaws in the idea that we live on a flat earth.

So here it is. Flat Earthers:

  • Have no complete working model or map which encompasses all their explanations. Oh there's a few models alright, but they actually contradict one another!
  • Have no way to determine proper distances or directions between two point on the earth not sharing the same longitude.
  • Have no explanation for how the sun and the moon circle the earth, or how the sun migrates from the tropic of Capricorn to the tropic of Cancer and back over the year.
  • Have no idea why the ancient Greeks such as Pythagoras, Aristotle, Eratosthenes and Aristarchus believed the earth was a sphere.

Keybase proof

I hereby claim:

  • I am eslachance on github.
  • I am eslachance ( on keybase.
  • I have a public key ASDxK1jo_eBEkvGX7AEaeLt0Y0-TGcTvxqqwJ07j_vh1Dgo

To claim this, I am signing this object: