Giter Club home page Giter Club logo

eagle-bot-list's Introduction

Contributors Forks Stargazers Issues MIT License

๐ŸŽญ Features

  • โœ… Certified Bot
  • โœ… Top Bot
  • โœ… Admin Page
  • โœ… Bot Tags
  • โœ… And much more!
  • โœ… Server count API
  • โœ… Support MARKDOWN descriptions
  • โœ… Support HTML descriptions

๐Ÿ“Ž Requirements

๐ŸŒ Main

  • Discord bot's token You should know why you need this or you won't go to this repo Get or create bot here
  • Mongodb URI for custom prefix MongoDB
  • Your ID for eval command. It's dangerous if eval accessible to everyone
  • Configure your Recaptcha Recaptcha

๐Ÿš€ Installation from source

git clone https://github.com/LucasB25/Eagle-Bot-List.git

After cloning, run

npm install
  • Start the bot with node src/index.js

to snag all of the dependencies. Of course, you need node installed. I also strongly recommend nodemon as it makes testing much easier.

Intents

When you are running the Code you must have gotten this Error. To fix this head over to your Bot's Discord Application and go to the Bot Settings and find this:

Then turn on both of those Settings and click "Save Changes". Then you are done and it should be fixed!

โš™๏ธ Configurations

  • edit in config.json
      "discord_client": {
    "id": "BOT_ID_HERE",
    "token": "TOKEN_HERE",
    "secret": "SECRET_HERE",
    "prefix": "PREFIX"
  },
  "web": {
    "domain_with_protocol": "http://localhost",
    "port": 80,
    "ratelimit": 100,
    "recaptcha_v2": {
      "site_key": "SITE_KEY_HERE",
      "secret_key": "SECRET_KEY_HERE"
    }
  },
  "mongo_url": "MONGO_URL",
  "server": {
    "id": "SERVER_ID_HERE",
    "invite": "https://discord.gg/fbJFAs43vD",
    "like_log": "VOTE__CHANNEL_ID_HERE",
    "botOwners": "OWNER_ID_HERE",
    "mod_log_id": "MOD__CHANNEL_ID_HERE",
    "website_logs": "WEBSITE__CHANNEL_ID_HERE",
    "admin_user_ids": ["ADMIN_ID_HERE"],
    "role_ids": {
      "bot": "BOT_ROLE_ID_HERE",
      "bot_verifier": "BOT_VERIFIER_ROLE_ID_HERE",
      "bot_developer": "BOT_DEVELOPPER_ROLE_ID_HERE",
      "cert_user": "CERTIF_USER_ROLE_ID_HERE",
      "cert_bot": "CERTIF_BOT_ROLE_ID_HERE"
    },
    "botreviewer": ["REVIEWER_ID_HERE"]
  },

๐Ÿ’Œ Support Server

DiscordBanner

๐Ÿค Contributing

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/your-username/Eagle-Bot-List.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Stage changes git add .
  5. Commit your changes: cz OR npm run commit do not use git commit
  6. Push to the branch: git push origin my-new-feature
  7. Submit a pull request

๐Ÿ” License

  • Distributed under the Apache-2.0 license License. See LICENSE for more information.
  • You must leave the mention of Panais development, in the footer.

eagle-bot-list's People

Contributors

dependabot[bot] avatar imgbotapp avatar lucasb25 avatar mayo56 avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eagle-bot-list's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/codeql.yml
  • actions/checkout v3
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
npm
package.json
  • canvas 2.11.2
  • canvas-constructor 5.0.2
  • cookie-parser 1.4.6
  • discord.js 13.17.1
  • express 4.19.2
  • express-session 1.18.0
  • fs-nextra 0.5.1
  • is-html 3.1.0
  • is-url 1.2.4
  • module-alias 2.2.3
  • moment 2.30.1
  • mongoose 7.7.0
  • node-fetch 2.7.0
  • passport ^0.6.0
  • passport-discord 0.1.4
  • path 0.12.7
  • pug 3.0.3
  • recaptcha2 1.3.3
  • sanitize-html 2.13.0
  • skia-canvas 0.9.30

  • Check this box to trigger a request for Renovate to run again on this repository

List of known bugs

Bug description

Bot commands no longer work. but the panel can return them

C:\Users\batti\OneDrive\Documents\GitHub\Eagle-Bot-List\src\routes\bots\index.js:85
  let c = botUser.presence.status;
                           ^

TypeError: Cannot read properties of undefined (reading 'status')
    at C:\Users\batti\OneDrive\Documents\GitHub\Eagle-Bot-List\src\routes\bots\index.js:85:28
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
C:\Users\batti\OneDrive\Documents\GitHub\Eagle-Bot-List\src\routes\api\auth\index.js:16
  if (![bot.owners.primary].concat(bot.owners.additional).includes(req.user.id) && !admin_user_ids.includes(req.user.id)) return res.json({ "success": false, "error": "Bot owner is not user." });
                                                                                    ^

ReferenceError: admin_user_ids is not defined
    at C:\Users\batti\OneDrive\Documents\GitHub\Eagle-Bot-List\src\routes\api\auth\index.js:16:85
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
TypeError: C:\Users\batti\OneDrive\Documents\GitHub\Eagle-Bot-List\src\dynamic\includes\nav.pug:24
    22|           li.nav-item
    23|             span.hover-grey.nav-link Join Discord
  > 24|         if (req.user && req.user.staff)
    25|           a(style='text-decoration:none!important;', href='/admin')
    26|             li.nav-item
    27|               span.hover-grey.nav-link Review Panel

Cannot read properties of undefined (reading 'user')

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.