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)

49 lines (43 loc) 2.33 kB
// Type definitions for Node.js 7.10 // Project: http://nodejs.org/ // Definitions by: Microsoft TypeScript <https://github.com/Microsoft> // DefinitelyTyped <https://github.com/DefinitelyTyped> // Parambir Singh <https://github.com/parambirs> // Christian Vaagland Tellnes <https://github.com/tellnes> // Wilco Bakker <https://github.com/WilcoBakker> // Sebastian Silbermann <https://github.com/eps1lon> // Hoàng Văn Khải <https://github.com/KSXGitHub> // Sander Koenders <https://github.com/Archcry> // Jordi Oliveras Rovira <https://github.com/j-oliveras> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /************************************************ * * * Node.js v7.x API * * * ************************************************/ // NOTE: These definitions support NodeJS and TypeScript 3.1. // NOTE: TypeScript version-specific augmentations can be found in the following paths: // - ~/base.d.ts - Shared definitions common to all TypeScript versions // - ~/index.d.ts - Definitions specific to TypeScript 2.1 // - ~/ts3.1/index.d.ts - Definitions specific to TypeScript 3.1 // NOTE: Augmentations for TypeScript 3.1 and later should use individual files for overrides // within the respective ~/ts3.1 (or later) folder. However, this is disallowed for versions // prior to TypeScript 3.1, so the older definitions will be found here. // Base definitions for all NodeJS modules that are not specific to any version of TypeScript: /// <reference path="base.d.ts" /> // TypeScript 2.1-specific augmentations: // Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`) interface MapConstructor { } interface WeakMapConstructor { } interface SetConstructor { } interface WeakSetConstructor { } interface IteratorResult<T> {} interface Iterable<T> {} interface Iterator<T> { next(value?: any): IteratorResult<T>; } interface IterableIterator<T> { } interface SymbolConstructor { readonly iterator: symbol; } declare var Symbol: SymbolConstructor;