Coder Social home page Coder Social logo

17teen / discord-bladee-server-anti-nuker Goto Github PK

View Code? Open in Web Editor NEW
59.0 2.0 72.0 1.2 MB

Archived Till A New Release Comes Out.

Batchfile 0.08% JavaScript 99.92%
discord-server bot trust discord discord-bot discord-js javascript discordbot discordjs discordnuker

discord-bladee-server-anti-nuker's Issues

[COMMAND FAILED] : [GUILD] Jdm | [CHANNEL] ogólny | [REASON] MISSING PERMISSIONS | DiscordAPIError: Invalid Form Body embed.thumbnail.url: Scheme "null" is not supported. Scheme must be one of ('http', 'https'). embeds[0].thumbnail.url: Scheme "null" is not supported. Scheme must be one of ('http', 'https').

[COMMAND FAILED] : [GUILD] Jdm | [CHANNEL] ogólny | [REASON] MISSING PERMISSIONS | DiscordAPIError: Invalid Form Body
embed.thumbnail.url: Scheme "null" is not supported. Scheme must be one of ('http', 'https').
embeds[0].thumbnail.url: Scheme "null" is not supported. Scheme must be one of ('http', 'https').
Error

Make this better

  1. Why is there a JSON database, JSON databases are prone to corruption?
  2. Your command handling is complete ass, you do realise you can check folders within a directory
  3. Why are you using String.Raw, you can simple do:
console.log(`
                            ██████╗ ██╗      █████╗ ██████╗ ███████╗███████╗   
                            ██╔══██╗██║     ██╔══██╗██╔══██╗██╔════╝██╔════╝   
                            ██████╔╝██║     ███████║██║  ██║█████╗  █████╗     
                            ██╔══██╗██║     ██╔══██║██║  ██║██╔══╝  ██╔══╝     
                            ██████╔╝███████╗██║  ██║██████╔╝███████╗███████╗██╗
                            ╚═════╝ ╚══════╝╚═╝  ╚═╝╚═════╝ ╚══════╝╚══════╝╚═╝
                                                   
                                  Anti Nuke | 7teen | Author: ${author}`)
  1. Node LTS is not required, you can use both LTS and the current version
  2. Your function backup should handle variables, never mind that you don't even require a function for that.
  3. "Commando Structure" You don't even have the commando package.
  4. The JSON structure switches between naming schemes try sticking to one naming scheme:
                 const data = {
                    guildID: ID,
                    guildName: Name,
                    Data: {
                        Owner: guild.owner.user.tag,
                        OwnerID: guild.ownerID,
                        WhiteListedUserIDs: [],
                        WhiteListedUsers: [],
                        BlackListedUserIDs: [],
                        BlackListedUsers: [],
                        TrustListedUserIDs: [],
                        TrustListedUsers: [],
                    }

Do not take this as hate it is criticism, which you can use to learn from

error

image
this is the error pls help

data is undefined

node_modules\discord.js\src\managers\ChannelManager.js:23
const existing = this.cache.get(data.id);
^

TypeError: Cannot read property 'id' of undefined

don't use json as database it sucks

the json files lose data over time if we use on replit. this affects the data of "whitelisted users" and other information. i suggest you to try replacing json with mongoDB, or with replit's own database.

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.