Comments (3)
For the rest, you must pass an object with the instance and its options, the module will take care of making the constructor:
const token = "xyz";
const rest = { adapter: DefaultRestAdapter, options: { token } };
from seyfert.
Weird. ts didn't scream at me for that. Also, the options seem to have type any? Is that intended?
from seyfert.
Weird. ts didn't scream at me for that. Also, the options seem to have type any? Is that intended?
TS didn't say anything because it is the type that it expects, the methods are left below, about the options as it is intended for any adapter, these are applied when using it, at the time of declaring it you will have to do it manually (which can be improved)
from seyfert.
Related Issues (20)
- THIS LIBRARY RUINED MY LIFE HOT 4
- Fix (most) linter warnings
- basic refactoring of @biscuitland/ws HOT 1
- Add husky so the project has a nice workflow
- Add github actions HOT 2
- rewrite of @biscuitland/api-types
- side effect in router (routes.push())
- Dependency Dashboard
- Method for setting mentionable options in MentionableSelectMenu isn't created
- Incorrect information in README HOT 13
- Throw a more user friendly error when capitals exist in command parameters or convert to lowercase. HOT 1
- `onRunError` overlaps `onBotPermissionsFail` and `onPermissionsFail` HOT 1
- Guild.fetchVoiceRegion
- SyntaxError: Importing binding name 'GatewayIntents' is not found. HOT 2
- Bot is not running HOT 1
- mushrum to @biscuitland/voice HOT 2
- Move all builders to /helpers HOT 1
- Fix semi colon in README
- create and test @biscuitland/cache HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seyfert.