DocsGetting Started
Getting Started with meowcord
Welcome to meowcord! This guide will help you get started with creating your first Discord bot.
Overview
meowcord is a powerful yet easy-to-use library for creating Discord bots. It's built on top of Discord.js but provides a simpler interface for common tasks.
Here's what you'll learn in this documentation:
- How to install meowcord and set up your development environment
- Creating a basic bot with commands
- Working with events and advanced commands
- Organizing your code with command files
- Managing your bot's presence and status
- Leveraging Discord.js features within meowcord
Quick Start
To get started with meowcord, follow these steps:
- Install Node.js: Make sure you have Node.js version 16.9.0 or higher installed
- Create a new project: Create a new folder for your bot and initialize it with npmTerminal
mkdir my-discord-bot cd my-discord-bot npm init -y
- Install meowcord: Install the meowcord packageTerminal
npm install meowcord
- Create your bot file: Create an index.js file with the following codeindex.js
const { Meow, Intents } = require("meowcord"); const bot = new Meow({ intents: [Intents.Guilds, Intents.GuildMessages, Intents.MessageContent], prefix: "!", meowSettings: { returnBotInfosInConsole: true }, }); bot.start("YOUR_BOT_TOKEN"); bot.basicCommand({ cmdName: "ping", cmdCode: async (message) => { const ping = Date.now() - message.createdTimestamp; message.reply(`🏓 Pong! My ping is currently ${ping}ms`); } });
- Run your bot: Start your bot with Node.jsTerminal
node index.js
Next Steps
Now that you have a basic bot running, you can explore more features:
Need Help?
If you encounter any issues or have questions, you can:
- Join our Discord server for community support
- Check the GitHub repository for issues and updates
- Explore the examples for inspiration