UNPKG

selfbot.js

Version:

Un module fais pour intéragir avec l'api de discord. (version modifié pour mieux supporter les selfbots)(renommé car beaucoup de bug)

24 lines (17 loc) 513 B
/* ABOUT ACTIONS Actions are similar to WebSocket Packet Handlers, but since introducing the REST API methods, in order to prevent rewriting code to handle data, "actions" have been introduced. They're basically what Packet Handlers used to be but they're strictly for manipulating data and making sure that WebSocket events don't clash with REST methods. */ class GenericAction { constructor(client) { this.client = client; } handle(data) { return data; } } module.exports = GenericAction;