Browse Source
Instead of the inflection/globals bullshit we where doing for each GatewayEvent recieved, now just lookup the discord version of the event type in a mapping. Metaclass is used to not-to-magically generate the mapping. This should be quite a bit more performant, and way less silly.pull/6/head
1 changed files with 16 additions and 3 deletions
Loading…
Reference in new issue