Project · Case

CalypsoCore

30 Ekim 2022

Bir discord botu oluşturabilmeniz için hazır bir foundation.

CalypsoCore



CalypsoCore

It was developed with discord.js so that you can use the foundation of CalypsoBot for your own purposes.

Installation • Setting Up • License • Credits

Installation

You can add Calypso to your server with this link! Alternatively, you can clone this repo and host the bot yourself.

TXT
git clone https://github.com/merchizm/CalypsoCore.git

After cloning, run an

TXT
npm install

to snag all of the dependencies. Of course, you need node installed. I also strongly recommend nodemon as it makes testing much easier.

Setting Up

You have to create a config.json file in order to run the bot (you can use the example file provided as a base). Your file should look something like this:

JSON
{
  "botName": "CalypsoCore",
  "botDesc": "Bot Description",
  "inviteLink" : "https://mekayalar.com/?invite",
  "mongoDBConnectionString": "mongodb://localhost:27017/CalypsoCore",
  "token": "ODQwOTk3NDgzMTUxODg0Mjg4.sAFKMdsfkdlaGAHJaNXON8o7An7vOLibc",
  "ownerId": "298895184601546752",
  "bugReportChannelId": "843063353894764554",
  "feedbackChannelId": "843062583894764554",
  "serverLogId": "841675084532243379",
  "supportServer": "https://discord.gg/example_server",
  
}

Visit the Discord developer portal to create an app and use the client token you are given for the token option. ownerId is your own Discord snowflake. bugReportChannelId, feedbackChannelId, and serverLogId should be set to respective text channels on your own server.

After your config.json file is built, you have enable Privileged Intents on your Discord developer portal. You can find these intents under the "Bot" section, and there are two ticks you have to switch on. For more information on Gateway Intents, check out this link.

Once done, feel free to launch Calypso using the command node app.js or nodemon app.js. If on Linux, you can also kick off using the start.sh script.

License

Released under the GNU GPL v3 license.

Credits

  • Merchizm - Initial work of CalypsoCore - github
  • Sebastian Battle - Initial work - github
  • Kyle Glaws - github
  • CommradeFido#5286 - Calypso's art and graphics
  • Threebow - Ideas and tutorials - github

Proje Özeti

Tamamlanma

30 Ekim 2022

Etiketler

Discord.jsNode.jsSQLiteJavascript
görüşürüzMesajınızı bekliyorum[email protected]