# Abrevio Client
AbrevioClient is an extended class of discord.js's Client instance. Currently, the only custom properties it has are:
dev- An array of Snowflakes which correspond to a User (possibly undefined if nodevproperty has been provided when constructing theAbrevioClientinstance.)commands- A Store of all the loaded commands that have been loaded by the Command Handler (possibly undefined if noCommandHandlerinstance has been instantiated.) [This property is not constructable.]events- A Store of all the loaded events that have been loaded by the Listener Handler (possibly undefined if noListenerHandlerinstance has been instantiated.) [This property is not constructable.]defaultEvents- A Store of all the loaded default events (internal handlers). [This property is not constructable.]
# Here's a short example on how to instantiate AbrevioClient correctly
(TS)
import { AbrevioClient } from "abrevio";
const client: AbrevioClient = new AbrevioClient({
dev: ["123456789012345678"],
partials: ['MESSAGE', 'REACTION', 'USER', 'GUILD_MEMBER'] // This is a method inherited from the 'Client' instance, which has been metnioned up above.
});
(JS)
const { AbrevioClient } = require("abrevio");
const client = new AbrevioClient({
dev: ["123456789012345678"],
partials: ["MESSAGE", "REACTION", "USER", "GUILD_MEMBER"] // This is a method inherited from the 'Client' instance, which has been metnioned up above.
});