Skip to content

prasoonsoni/HappieBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HappieBot 😊

A discord bot that keeps you happy by sharing memes, jokes and quotes.

Add bot to your Server

Add to Discord

Commands

/quote - Give you a random quote.
/meme - Give you a random meme.
/joke - Give you a random joke.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

In order to get a copy of the project you will require you to have Node.js (v14+) and the NPM package manager installed. If you don't have it, you can download the latest version of Node.js from the official website which also installs the NPM package manager by default.

Installation

  • Open the terminal in the folder in which you wish to clone the repository and enter the following command:
git clone https://github.com/prasoonsoni/HappieBot.git
cd HappieBot
  • Install all the NPM packages:
npm i
  • Create a discord server and bot to the server.
  • In order to run the bot
node deploy-command.js
node index.js

Note that you will have to add your own .env and config.json file at the root directory and add your own environment variables and config variables for the project to build.

  • Following are the contents of .env file.
DISCORD_TOKEN=your-discord-token-goes-here
  • Following are the contents of config.json file.
{
    "token":"your-token-goes-here",
    "clientId":"your-client-id-goes-here",
    "guildId":"your-guild-id-goes-here"
}

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project. (Refer the get started instructions)
  2. Create your Feature Branch. (git checkout -b feature/AmazingFeature)
  3. Commit your Changes. (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch. (git push origin feature/AmazingFeature)
  5. Open a Pull Request.

About

A discord bot that keeps you happy by sharing memes, jokes and quotes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published