Demoji
A powerful JavaScript library for DiscordEmoji API.
- Faster
- Object-oriented
- Light-weight
Installation
Node.js 8.0.0 or newer is required.
Stable: npm install demoji
(recommended)
Master: npm install chroventer/demoji
(unstable)
Example
const Demoji = ;const client = ; client ; //Get all the emojisclientall ; // Get an emoji by its IDclient ; // --> {id:3111,title:'DoubleFacepalm', ...} // Get an emoji by its nameclient ; // --> {id:3111,title:'DoubleFacepalm', ...} client ; client ; // Get a random emojiclient ;