Skip to content
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.

Latest commit

 

History

History
43 lines (27 loc) · 1.78 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.78 KB

Robot-Hamster

This is the source to it please report issues if you find any

Welcome to the Hamster Documentation page!

Hamster is a multi-purpose bot that runs with discord.js 🏃

Milestones:

We have reached 1300+ servers on our discord bot 🎉🎉 We have reached 70+ commands 🎉🎉


Hosting

First, download all the files and put them in a folder.

Need to create a new app at https://discordapp.com/developers/applications/me/create and then need to fill out the bots name and select its avatar then create it. Once done that find where is says Bot and click create a bot user and hit yes, do it

Now you want to go back to bot go to token and click token: click to reveal this will show you the bot token now edit hammy.js, hammygamble.js, hammylevel.js where it says, client.login("your token") (it's at the bottom) with your bot token once done click save.

Now you have done that you will need NodeJs installed can get it from https://nodejs.org/en/ so you can start running the bot.

Now right click the folder in an empty space where you put the files in then click open command prompt.

Need to install each of these packages with npm install [packagename] without the brackets and replace package name with the ones below.

Packages Needed

  • discord.js
  • ms
  • superagent
  • request-promise-native
  • snekfetch
  • urban
  • chrono-node
  • moment

When done downloading the dependencies, run node hammy.js, hammygamble.js, hammylevel.js if you don't want the level and gamble system then just run hammy.js, each one needs its own command prompt to run, to start the bot.

If there is a problem or an error please make an issue.

If you want to run this bot while not having the console or terminal open, use nodemon or pm2 (ex. pm2 start hammy.js)