Resolvables¶
In discord.js, the aim is to allow the end developer to have freedom in what sort of data types they supply. References to any sort of resolvable basically mean what types of data you can provide. The different resolvables are shown before:
Channel Resolvable¶
A Channel Resolvable allows:
User Resolvable¶
A User Resolvable allows:
- User
- Message
- TextChannel
- PMChannel
- Server
- String of User ID
Server Resolvable¶
A Server Resolvable allows:
- Server
- ServerChannel
- Message (only for messages from server channels)
- String of Server ID