GithubHelp home page GithubHelp logo

weebdev / commando Goto Github PK

View Code? Open in Web Editor NEW
77.0 16.0 65.0 2.2 MB

[DEPRECATED] ⚫ Commando Discord bot built on discord.js-commando.

Home Page: https://github.com/Gawdl3y/discord.js-commando

License: MIT License

JavaScript 99.38% Shell 0.62%
discord discord-api discord-bot discord-music-bot music music-bot commando postgres discord-commando bot

commando's Introduction

Commando

Commando Discord bot built on discord.js-commando.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Run it yourself

Installation guide for Ubuntu 16.04.2 LTS

Install Docker

sudo apt-get update
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
sudo apt-get update
sudo apt-get install -y docker-engine

Install docker-compose

sudo pip install docker-compose

Get ready

wget https://raw.githubusercontent.com/WeebDev/Commando/master/docker-compose.yml.example -O docker-compose.yml

Fill out all the needed ENV variables.

Launch docker-compose

docker-compose up -d

Author

Commando © WeebDev, Released under the MIT License.
Authored and maintained by WeebDev.

GitHub @WeebDev

commando's People

Contributors

1computer1 avatar aemino avatar anothergenz avatar anxeal avatar appellation avatar bdistin avatar blackmix avatar cas-c avatar darqam avatar drahcirius avatar gavwin avatar gawdl3y avatar greenkeeper[bot] avatar icrawl avatar itsjordan avatar kurisubrooks avatar lewdcario avatar novara754 avatar serhann avatar silvanob avatar slamakans avatar sneakydeveloper 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

Watchers

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

commando's Issues

Unknow message when add playlist

Hello,

I'm sorry about writing here today, but when I add a playlist, that spam the console (with 1 error = 1 music into the play). Thats the full message :
Promise { _bitField: 18087936, _fulfillmentHandler0: { DiscordAPIError: Unknown Message at item.request.gen.end (/home/xxx/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:68:65) at then (/home/xxx/node_modules/snekfetch/src/index.js:241:21) at tryCatcher (/home/xxx/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/xxx/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/xxx/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/xxx/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/xxx/node_modules/bluebird/js/release/promise.js:689:18) at Async._drainQueue (/home/xxx/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/xxx/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues (/home/xxx/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:800:20) at tryOnImmediate (timers.js:762:5) at processImmediate [as _immediateCallback] (timers.js:733:5) name: 'DiscordAPIError', message: 'Unknown Message', code: 10008 }, _rejectionHandler0: undefined, _promise0: undefined, _receiver0: undefined }

Thanks !

Skipping two songs?

I've found a very weird issue where the bot skips two songs when anyone does !skip and there's 3 or less people, making the skip instant.

Interest isn't applied to bank's money

Image

It's applied to users' accounts though.

Idk if it's intended or nah, but if it's like this, wouldn't the bank go negative if people withdrew all their money?

Is that how banks work 🤔💭?
If it is, then I get why the world went to shit a few years back and a few years before that and a few years before that and a few ...

Error

debian@vps395647:~/Commando$ node Commando.js
/MP/serhan/Commando/node_modules/sequelize/lib/sequelize.js:116
options.dialect = urlParts.protocol.replace(/:$/, '');
^

TypeError: Cannot read property 'replace' of null
at new Sequelize (/MP/serhan/Commando/node_modules/sequelize/lib/sequelize.js:116:42)
at Object. (/MP/serhan/Commando/structures/PostgreSQL.js:6:18)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/MP/serhan/Commando/Commando.js:8:18)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:423:7)
at startup (bootstrap_node.js:147:9)
at bootstrap_node.js:538:3

Music - play command - Cannot read property 'id' of undefined

Hey,
First of all, thanks for that code, it's great :)

I'm trying to put the music part in my commando bot. I took the commands/music folder and the structure/Song.js.
I also downloaded all node.js packages it required.

I can start the bot without a problem, the error occure when I launch the play command with an url (or with any word).
Here is the console error :
error: TypeError: Cannot read property 'id' of undefined at PlaySongCommand.run (C:\Users\***\botDiscord\Wall-E\commands\music\play.js:89:62) at <anonymous> at process._tickCallback (internal/process/next_tick.js:169:7)

And the message of the bot :
@Darkcl0w, couldn't obtain the search result video's details.

I followed the stack trace and the error and it leads me to that line in the play.js
const video2 = await this.youtube.getVideoByID(videos[0].id);

That means, even if I use a url it cant reach the video because it should gets it juste before, with these lines :
const video = await this.youtube.getVideo(url); return this.handleVideo(video, queue, voiceChannel, msg, statusMsg);

I'm sure there is something I don't understund but I don't know what...

Of course if you need other informations I'll send them to you.

Have a nice day/night,

Darkcl0w

setGame, every so often the Bot removes it's "Playing" tag

When using
if (message.author.id === '190775609532612608') { if (!argresult) argresult = null; if (message.content.startsWith(prefix + 'setgame')) { this.client.user.setGame(argresult) } } else { message.channel.sendMessage(${message.author}, You do not have Administrative permission to use that command) }

Code in Discord-Commando. The bot enables it's "Playing " tag correctly. After a few minutes it deletes that tag for no reason.

Sherlock API

What is this? I have never heard of it. Where can I obtain my api key for this? Direct link please. Thanks!

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.