README
Cocoa Discord Utils
Yet another Discord Bot Utility npm package
This package contains many utilities that made by me for me to make my bots
Note: If you are viewing this from TypeDoc see meta/CocoaVersion for
version of the document you are viewing.
๐๏ธ Subpackages
Many utilities are classified into many subpackages
NOTE: You need to use the very new version of node.js (16.9+) as it is requirement of discord.js
/ (index)
Miscellanous, consists of many utility classes
/meta
Info Stuff, ex. Utils Version, Device Info, etc.
/message
Message Command Management
/slash
Slash Command Management
/template
Frequently used stuff
/internal
As the name suggests, you should avoid touching this subpackage
Note: Command Management is inspired by discord.py's cogs system. There are two implementations, one that are different, focuses on concept of one function per file. And the other one, that is more like discord.py's cogs.
/<message|slash>/class
To use Class Cog (with Decorators like discord.py), import them from /message/class or /slash/class.
Note that Decorators are complex and I achieve this using dark magic, however, from testing, this is pretty stable. TypeScript is required.
โ๏ธ Discord Bots that use this Package a.k.a. Examples
If you wish for examples, see above repositories
๐ Documentation
Note: There is no Type Check in this package. To avoid unexpected behavior, please use TypeScript or activate @ts-check on JavaScript.
To use generic type, TypeScript is required.
๐ซ What is Cocoa?
Cocoa may have many meanings, but the name Cocoa / ใณใณใข that is used in this package as well as cocoa-grader refers to Cocoa Oneechan ไฟ็ปๅฟๆ from ใๆณจๆใฏใใใใงใใ๏ผ

nigerundayo... Smokey! โ No one said
Anime Name: Is the Order a Rabbit?