Code Monkey home page Code Monkey logo

discord-bot-js's Introduction

Kety Folf's Discord Bot

This bot is hosted on an Raspberry pi 4b+ 4gb ram

Contributors

  • Kety_the_folf#0001
  • AbnerSquared

Links

Top.GG

Setup

  1. Run update.bat. This will automatically attempt to install all of the required files.

  2. Create config.json in the same location as index.js. The config.json must contain the following:

{
    "token": "DISCORD_TOKEN_KEY", // This is the token that is used to log in as the bot
    "prefix": "PREFIX", // This represents the prefix that the bot will listen to
    "devId": "DEV_ID", // This represents the Discord ID to be marked as a developer
    "commandPath": "COMMAND_PATH", // This defines where the command files are stored
    "debug": false // This  determines if specific things are to be logged on the console
    "fur_APIkey": "api key for furrybotapi" // this is not needed to use but removes api cooldown if you have one
}
  1. Once everything is set up, you can now launch the bot using run.bat.

discord-bot-js's People

Contributors

abnersquared avatar deepsourcebot avatar dependabot[bot] avatar kety-folf avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

discord-bot-js's Issues

update help command

Is your feature request related to a problem? Please describe.
make the help command auto update when a new command is added

Describe the solution you'd like
the help command to auto update

Describe alternatives you've considered
hard coded values for the help command

[slots.js] WinMultiplier Changes

Suggestion:
Change the win multiplier used for slots from:
Math.floor(Math.random()*10) => Math.floor(Math.random()* (10 - 2 + 1)) + 1

Reason:
The win multiplier always has a chance to land at 0 or 1, which in turn causes winners to lose money, or get nothing back in the end. This change ensures that when they do end up winning, it's always going to be a positive return.

Context:
Random equation found from:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random

Implement new account schema

A new schema should be set in place for user and server accounts to better correlate database manipulation. Likewise, I feel like we can start planning out what properties should be stored into the database, along with properties that can just be stored for the lifetime of a hosting session.

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.