Skip to content

Cocoa Discord

For discord.js

Simplifying how you create interactive Discord Bot with Slash Command ✨✨✨

Example Code

ts
@SlashCommand("Play a song/video from YouTube")
async play(
    ctx: SlashCommand.Context,
    @Param.String("Youtube URL or Search Query")
    song: Param.String.Type
) {
    // function logic
}
More Examples

Documentation generated by Vitepress. This project/library is released under the MIT License