Giter Site home page Giter Site logo

rem-v2's Introduction

Rem v2

The rewrite of Rem, now even cleaner and soon fully documented.

This Code is provided as is, there will be no support for getting it to run.

Discord Dependencies GitHub starsGitHub issues

Requirements:

Installation instructions

  1. Install MongoDB with the guide.
  2. Install git, Here is the link to get it.
  3. Install node, Here is the link to get it.
  4. Install youtube-dl, which can be found here, make sure to have it in your path.
  5. Install ffmpeg and add it to path, it can be found here
  6. If you have Windows, open a console with administrator permissions and type npm install --global windows-build-tools into it. This will install the neccessary tools, which will be later needed by npm to build Rems dependencies
  7. For Linux environments, you should get buildtools-essentials and python 2.7 installed.
  8. Clone the source of v2 from git
  9. Go into the just created directory and open a cmd and execute npm install. There could be some errors while installing the dependencies as the optional depenency of rem links to eris-crystal If the installation fails, due to not being able to clone the git repo of it, remove it from the dependencies in the package.json.
  10. Create the following directories within the root: temp,audio,config
  11. Create 2 files within the config directory: main.json and keys.json. An Example can be found down below.
  12. Run npm run build in your terminal.
  13. Start the MongoDB Server
  14. Start Rem by going into the dist folder and typing the following: node index.js.

Example main.json

{
  "owner":"The owner name",
  "owner_id":"The discord id of the owner",
  "token":"The actual discord api token",
  "client_id":"the client id of the bot",
  "bot_id":"the bot id of the bot, if there is no field in the app screen named bot id, copy the clientid in here",
  "version": "The version of the bot",
  "beta":true,
  "osu_token":"The token for the osu api",
  "osu_path":"./audio",
  "osu_username":"The username that should be used when downloading osu songs",
  "osu_password":"the password of the osu account",
  "no_error_tracking":true,
  "shards":1,
  "lbsearch_sfw_key":"the key to use for the ibsear.ch lookup",
  "lbsearch_nsfw_key":"the key to use for the ibsearch.xxx lookup",
  "cleverbot_api_key":"Contact Info, so that we can use the cleverbot api.",
  "mashape_key":"The key to use for mashape (Urbandictionary)",
  "ws_port":8080
}
  • Beta should always be set to true.
  • no_error_tracking disables sentry, the bugtracker of rem, leave this set to true.
  • the number of shards defines how many processes the master will spawn. Can be set to 1 unless you want to operate this fork on over 2500 servers.

Example keys.json

{
  "keys": [
    "Youtube Api Key, you can add more if you like"
  ]
}

Helpful links

If you need help creating tokens and a Youtube api I suggest reading these two tutorials on it.

Contibuting Guidelines

I will write those if people actually want to contribute. Until then: Just make it work good and fast. uwu

rem-v2's People

Contributors

daswolke avatar hoto-cocoa avatar itsyuka avatar sdskykloud avatar ratismal avatar

Watchers

James Cloos avatar Roman Butok avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.