Coder Social home page Coder Social logo

hurricanodev / hurricano Goto Github PK

View Code? Open in Web Editor NEW
91.0 5.0 32.0 2.07 MB

An amazing open-source Discord bot using MongoDB with many features such as a customizable prefix, a reaction menu, music, role requirement giveaways and much more!

Home Page: https://dsc.gg/hurricano

License: GNU General Public License v3.0

JavaScript 98.63% EJS 1.36% Procfile 0.01%
bot mongodb discord-js discord-bot discordjs discord-api music giveaways contributions-welcome discord

hurricano's People

Contributors

achaljhawar avatar anogh297 avatar dragonizedpizza avatar jeydin21 avatar militia21 avatar nigamanthsrivatsan avatar oadpoaw avatar superzackx avatar xheaveny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hurricano's Issues

1 error and 1 question

First off, the Support Server invite link is expired, and 2nd, what does this mean? const Command = require("@Command");

Invalid

Mmm Yes your Discord invite link is Invalid should look into that :)

Playing Music

Whenever I run the command hr!play (name) it wont give me a response back and it wont play anything in vc, it doesnt even join vc. Im using the bot hosted by you. Any fix?

Music Problem

Whenever I run the command hr!play (name) it wont give me a response back and it wont play anything in vc, it doesnt even join vc. Im using the bot hosted by you. Any fix?

this bot destroyed my server

Hey, so my server recently got purged by this bot. I had no idea that the creators had malicious intentions, so I've banned the bot. I'm disgusted at your attempts to actively destroy my Discord server and then blame it on some "raiders" since I've checked the audit log, and Hurricano deleted all the channels in my server.

"stack": "TypeError: Cannot read properties of undefined (reading 'join')

Hello, I have a problem with the open source code an error is displayed and since I'm using the nodeJS I'm a little lost I send you the error below:

"stack": "TypeError: Cannot read properties of undefined (reading 'join')

at generateHelpEmbed (C:\Users\IRdark\Desktop\Hurricano-main\Hurricano-main\bot\commands\information\help.js:201:50)

at Command.run (C:\Us\ers\\IRdark\Desktop\Hurricano-main\Hurricano-main\bot\commands\information\help.js:237:21)

at MessageEvent.run (C:\Us\ers\\IRdark\\Desktop\Hurricano-main\Hurricano-main\bot\events\information\message.js:433:21)

at processTicksAndRejections (node:internal/process/task_queues:96:5)"

Here's the error ^^"

Play command failure

Hey, I'm self-hosting this bot. Just made a several changes to no "copy-paste" it. At the first music commands were working fine but now whenever i put in music name, it says "There are no more songs in the queue.". How can I fix that?

Better Eval Command o.O

const Discord = require ("discord.js");
const sourcebin = require('sourcebin_js')

module.exports = {
    name: "eval",
    description: "Evaluates arbituary JavaScript.",
    ownerOnly: true,
    args: true,
    run: async (client, message, args) => {

  const clean = text => {
  if (typeof(text) === "string")
    return text.replace(/`/g, "`" + String.fromCharCode(8203)).replace(/@/g, "@" + String.fromCharCode(8203));
  else
      return text;
}
  const args2 = message.content.split(' ').slice(1).join(' ');

    if (!args2) {
      message.channel.send("What do you want me to evaluate?");
      return;
  }

        const code = args.join(" ");
      let evaled = eval(code);

      if (typeof evaled !== "string")
        evaled = require("util").inspect(evaled);


        if (clean(evaled).length > 1024 || code.length > 1024) {
          sourcebin.create([{
            name: `Code by ${message.author.tag}`,
            content: clean(evaled),
            languageId: 'js'
          }]).then(src => {
         var embed = new Discord.MessageEmbed()
         .setTitle("Evaluation Overload!")
         .setColor("#4CEF8B")
         .setDescription("The evaluation was more than 1,024 characters")
         .addField("Click on the link below to view the eval result", `${src.url}`)
         message.channel.send({ embed: embed })
          }).catch(e => {
            message.channel.send(`Error: ${e}`)
      });
} else {
        var embed2 = new Discord.MessageEmbed()
        .setTitle("Evaled:")
        .setColor("#4CEF8B")
        .addField("Evaled: :inbox_tray:",  `\`\`\`js\n${code}\n\`\`\``)
        .addField("Output: :outbox_tray:", `\`\`\`js\n${clean(evaled)}\n\`\`\``)
        message.channel.send({embed : embed2 });
}
    } catch (err) {
        const code = args.join(" ");
                if (clean(err).length > 1024 || code.length > 1024) {
                  sourcebin.create([{
                    name: `Code by ${message.author.tag}`,
                    content: clean(err),
                    languageId: 'js'
                  }]).then(src => {
                 var embed = new Discord.MessageEmbed()
                 .setTitle("Evaluation Overload!")
                 .setColor("#4CEF8B")
                 .setDescription("The evaluation was more than 1,024 characters")
                 .addField("Click on the link below to view the eval result", `${src.url}`)
                 message.channel.send({ embed: embed })
                  }).catch(e => {
                    message.channel.send(`Error: ${e}`)
              });
};
      var embed3 = new Discord.MessageEmbed()
      .setTitle("ERROR:")
      .setColor("#f44242")
      .addField("Evaled: :inbox_tray:", `\`\`\`js\n${code}\n\`\`\``)
      .addField("Output: :outbox_tray:", `\`ERROR\` \`\`\`xl\n${clean(err)}\n\`\`\``)
      message.channel.send({embed: embed3 });
    }
  }
}

Maybe try this for long output handling, if it doesn't work then o.O

Problem with help command

[2021-07-16 15:27:25] - [warn]: Cannot read property 'join' of undefined
{
"stack": "TypeError: Cannot read property 'join' of undefined
at generateHelpEmbed (C:\Users
ikol\OneDrive\Imágenes\Escritorio\botki now live\Hurricano-main\bot\comma
nds\information\help.js:201:50)
at Command.run (C:\Users
ikol\OneDrive\Imágenes\Escritorio\botki now live\Hurricano-main\bot\comma
nds\information\help.js:237:21)
at MessageEvent.run (C:\Users
ikol\OneDrive\Imágenes\Escritorio\botki now live\Hurricano-main\bot\event
s\bot\message.js:433:21)
at processTicksAndRejections (internal/process/task_queues.js:93:5)"
}

At the console

and the help command with mention or prefix dont work in the chat pls help me!!

I deployed the main branch in heroku...

i deployed the main branch in heroku with the config.json file completely filled and deployed, the deployment succeeded, but the bot didn't come only, i can't figure how to see the deploy logs, can someone help?

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.