Skip to main content

๐Ÿš€ Quick Start

Let's create your first bot! The first step is creating your project and go inside.

npm create clappybot
cd <Name of you project>
npm install

โš ๏ธ If you forgot or gave wrong information during the environment configuration please refer to this page: ๐Ÿ“ Environment configuration

Now we need a first module for the settigns, don't worry we can clone this one:

git clone https://github.com/LeWeeky/settings-module-for-clappybot.git sources/modules/mybotsettings

This is an option, but you'll probably want to create your own module to add your functionalities. That's why there's a module template that will be a great help in developing your bot (don't forget to read the README.md):

git clone https://github.com/LeWeeky/Module-template-for-clappybot.git sources/modules/template

Before the first run, make sure all intents are enabled on your discord application. Then you can check for updates and install dependencies by running this command:

npm run update

Once done, you can start as follows:

npm run dev

Now your bot should be online, congratulations ๐ŸŽ‰ ! For the time being, you'll need to define a "main guild", which you can do using /setguild command, supplied with the module settings.