Skip to content

Instantly share code, notes, and snippets.

View eitozx's full-sized avatar
❄️
Open to Work!

Eito eitozx

❄️
Open to Work!
View GitHub Profile
@shakesoda
shakesoda / level.py
Created December 4, 2013 00:30
simple rpg-esque leveling system converted to Python (originally Lua)
import math
class Stats:
def __init__(self, base_stats, aptitude):
self._base_stats = dict(base_stats)
self._aptitude = dict(aptitude)
self.level(1)
def __str__(self):
stats = self._stats
@DuckMasterAl
DuckMasterAl / Privacy Policies.md
Last active December 22, 2021 21:32
Valid Discord Privacy Policies
@advaith1
advaith1 / intents.md
Last active July 6, 2024 19:32
Discord Gateway Intents Explainer

Intents Explainer

If you're wondering what Gateway Intents are, what Privileged Intents are, why your bot can't see statuses, or why your bot can't see member joins anymore, then this page should explain it to you!

if you do not know what intents are, please read this entire page

Intro

First, a short explanation of how bots work: bots can make requests over the REST (HTTP) API to retreive information and do actions, and they get real-time updates from Discord in the form of websocket gateway events. They can also fetch server members via the gateway.

Examples of gateway events you are probably familiar with are Message Create (a message was sent) and Guild Member Add (a user joined a server).

@InterStella0
InterStella0 / HelpCommand_walkthrough_guide.md
Last active June 4, 2024 18:06
Walkthrough guide on subclassing HelpCommand