Snowflake is a multi function bot, you can use for moderation, giveaways, basic needs and mainly its for fun and image generation. This Discord bot can be helpful for anyone who wants to learn how to make a discord.js bot, every command is in right place so it's more easy to read the entire project. I made this so new users can also look at the methods used for certain commands and get some ideas for their Discord bot.
Invite Link Click Me To add to your server
If you want help, don't worry, there are many ways to do it:
-
Contribute with code: Setup a development environment, make some changes, and open a pull request.
-
Contribute with ideas: Have a great idea, but don't know how to code ? No problem! Open an issue so we can talk about your idea.
New Pull Requests should be made upon the testing branch. If the code does not have any particular issues, then it will be merged into master branch.
- discord.js: "12.5.1"
- ms: "2.1.3"
- node-fetch: "2.6.1"
- fs: "0.0.1-security"
- discord.js-avatar: "1.0.0"
- discord-image-generation: "1.4.5"
- got: "11.8.1"
- mojang-api: "0.0.2"
- xmlhttprequest: "1.8.0"
- moment: "2.29.1"
- quick.db: "7.1.3"
- googleapis: "66.0.0"
- moment-duration-format: "2.3.2
Some commands require an Api Key or a Token which can be find on these websites:
- Google Custom Search Api Key and YT v3
- Discord Developer to get the token for the bot
- GiphyApi Key
- CatApi Key
- Before You Begin Make sure you have installed Node.js v10 or higher, Git and MongoDB.
- Clone this repository with git clone https://github.com/PHANTOM-14/Snowflake-bot.git.
- Run cd Snowflake-bot to move in the folder that Git has just created.
- Open an ADMIN command prompt, or PowerShell.
- Make sure that the folder is open in command prompt or powershell or terminal(Linux)
- You can open it using STEP 3 of Installation
- Run the following command
npm install
Make sure that you've putted everything in config.json and token.json.
After that go to command prompt and run the command node index.js
(Open the folder in prompt before using this)
See the Commands page.