thesharks / wildbeast Goto Github PK
View Code? Open in Web Editor NEWFeature-rich Discord bot framework
Home Page: https://docs.wildbeast.guide
License: Other
Feature-rich Discord bot framework
Home Page: https://docs.wildbeast.guide
License: Other
I feel like there should be a better alternative to ++leave or ++leave-voice
Not all end-users want timeouts on their own instance, change the now mandatory timeouts to trigger on config variables
I have experimented around with both QuarryBot and WildBot, they both seem to have the same issue, so let me get into details;
I have 2 playlists for example, I want to add them both to the queue.
1st playlist has 5 videos.
2nd playlist has 7 videos.
I execute ++request playlist1, it says as normal "Added 5 videos",
when I execute ++request playlist2, it will say "Added 12 videos" instead of 7, basically 5+7, stacking previous queued songs ontop of counter.
How to replicate; Get 1 or 2 playlist links, add them to the queue (doesn't matter if voice connection is broken, it'll still keep the stacked amount of songs).
Debug logs; Have none, sorry! Didin't seem as important since it occurs on live version of WildBeast.
The way gif
works now is not random enough, as it can return the same result multiple times.
Giphy does have a random result API endpoint, if I recall correctly, the runtime should change to that endpoint instead of the way it functions now.
Related to Dougley/DougleyBot#90
Discord.js 6.0.0 has been released, the bot needs to be tested with this Discord.js version.
Hey, not sure since when this problem is present, just tried it today, but with the usual "++request last part" after the ?v=[this part]" neither with the whole YouTube link it's adding it to the playlist.
Either giving the error message "That's not how you do it, you need to enter a link to a file for me to play." when just using the last part of the URL or "I couldn't add that to the playlist." when using the complete URL.
I think it's the same when using ++queue instead of ++request
I have done everything as n the guide, but when I run the test is says: "WildBeast encountered an error while trying to load the config file, please resolve this issue and restart WildBeast", and " Unexpected token M in JSON at position 48", but there isnt even a 48 .
Pls help
If prefix is set to something like ++
or **
the .search() function will turn it onto a regular expression causing a crash. Doing the following it appears to not break when those types of prefixes are used and also works when it's set to mention.
Replacing
if (msg.content.search(prefix) === 0) {
for
if (msg.content.includes(prefix)) {
Well, the Twitch API drastically changed, and thus breaks the default !twitch {channel name}
command.
Is it expected to be updated or removed?
This is to prevent the current waiting music getting old.
This one is easy, replace the FFmpeg executables in the repo with the latest version.
Hey!
We installed the bot on our Discord server and we love it, thanks a lot.
I'd like to know if it was possible to restrict ++skip for admins only, because our members do it every time they wanna listen to their music.
Thanks a lot!
Upon joining a server, the bot makes the founder of the server a level 3 user unique to that server, this way server owners can independently decide who should use what commands.
Auth levels per command are set by the script and can't be adjusted via conventional ways.
This requires the use of Redis, MySQL or any other database though.
Support YouTube playlist within request
, but restrict playlists to a certain amount to reduce uncontrolled "reservations"
Add a command that changes the bot's username.
Pls go fix line 60 >.>
setTimeout(function() {
if (bot.voiceConnection != null) {
bot.voiceConnection.playFile('./music/waitmusic.mp3', {}); // Play waiting music because why not
}
}, 1000); // Wait a bit for the voiceConnection object to become available
};
If the bot starts, the script should pull the 100 most popular memes from Imgflip, and integrate them.
Yomomma is broken, I tested it on QuarryBot + WildBot both.
can u plz make the vote skip to skip and if the person who type in the cmd is lvl 3 then force skip else start a vote
thank u
This is beneficial to music streaming, although discord.io is comparatively harder than discord.js.
When this is completed, users can update easier, because they don't need to reinsert their own commands after each update.
If we are going to include commands that can potentially be NSFW, it's better to make a command that can toggle those commands on and off for use in a specific channel.
This also requires a database, like Redis.
I used this bot a couple weeks ago, hosted on Heroku, worked like a charm. However, the youtubereq
command stopped working like it used to. For example, I could use youtubereq toxicity
and it would play SOAD's Toxicity, however, now it exclusively requires a youtube link, for example, youtubereq https://www.youtube.com/watch?v=64FrYGRrKVY
or it will show this error Stuff happened, I failed to fetch a valid AV file, try again with something different!
I didn't change anything in order for it to break. Do you have a clue what might have happened, or how to fix it?
Add a shuffle command to shuffle the songs in the playlist.
Had this idea but wasn't able to pull it off.
Have a custom timeout function so it could send different timeout messages or execute a function for a certain command. Also if possible, a counter so if a command is getting spammed while still within timeout, the user can get kicked or something.
Not really game changing but just something that could be fun to implement.
This is so WildBot won't respond to other bots
When I attempt to use the forceskip command, instead of skipping the song the bot crashes and does not automatically restart.
Inserting the relevant output from my screenlog below
^[[32minfo^[[39m: Executing <!forceskip> from Palm__
events.js:154
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at exports._errnoException (util.js:856:11)
at Pipe.onread (net.js:550:26)
Have you ever found yourself thinking: Why? O why can't I just use DougleyBot to search the weird stuff on Deviant Art? Well, I have an answer for you! And it's completely free. I think. https://www.deviantart.com/developers/rss
For the IMDB command in the config there's no myapifilms_token: "token"
so without a token the bot will crash if someone uses the imdb command. possible fix is a try/catch or disable the command is no token is found.
For setowner the command is not checking properly if it was ran in a DM causing the bot to crash, I was able to circumvent this by adding some basic checking and the command appears to work for those above level 2 and denies those under.
if (msg.channel.isPrivate){
bot.sendMessage(msg.channel, "You need to execute this command in a server, dummy!");
}
if (!msg.channel.isPrivate){
//rest of code
}
});
}}};
It does not post a link
Commands need a property that sets an auth level that users need to be or higher to execute the command
Instead of ~catfacts and ~facts, you could have ~Facts or ~Facts Cat so you could later import other kinds of facts but you don't have to create a completely new command for them.
Google updated the process of acquiring a API key for YouTube Data, and is looks completely different than is does on the Wiki
^_^b
On another note, what about putting the Wiki in the git so outsiders can do pulls on the Wiki. cough cough so I could make the update myself cough cough
Make a trivia command that will ask the users in the server a question and they have to answer asap to score points.
For added effect, make users first say Buzz before they can answer, giving them 5 seconds of solo right to answer the question before reopening the answer window.
Are we fine with sticking to a key/value database as we are doing right now with Redis (and later with LevelDB), or do we need to switch to a "real" database solution like MySQL?
Make it so that when you request a song name instead of a link, it plays the first result on youtube
Hola! @SteamingMutt has created a ZenHub account for the SteamingMutt organization. ZenHub is the leading team collaboration and project management solution built for GitHub.
To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.
ZenHub adds a series of enhancements directly inside the GitHub UI:
Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @SteamingMutt.
I got the bot up and running using the installation to Windows guide.
FortuneCow works, but the youtube music part is failing.
The error message, which doesn't tell me much.
AssignProcessToJobObject(87) and parameter is incorrect
Request:
!request https://youtube.com/(link)
Is a feature like this possible to implement on a bot was just wondering where it would DM all of the users in a Discord Channel?
It took me a while to figure out how to install this.
I got youtube-dl and ffmpeg specially installed to get this bot working, and custom-edited some js code to make it willing to run (the yt-dl code needed a pointer to the file)
I'm on Ubuntu 14.04
It's now able to join a voice channel and play some random song, but any commands are ignored with errors!
mcmonkey - Today at 11:25 PM
@WildBeast volume 0.1
WildBeastBOT - Today at 11:25 PM
An error occured while trying to process this command, you should let the bot author know.
TypeError: Cannot set property 'volume' of undefined
mcmonkey - Today at 11:26 PM
@WildBeast skip
WildBeastBOT - Today at 11:27 PM
An error occured while trying to process this command, you should let the bot author know.
TypeError: Cannot read property 'link' of undefined
This should probably be disabled (and command help or the help command output should be sent to the channel) if token_mode is set to true in the config seeing as it seems that bot accounts can't send PMs
Most hardcoded options we've made can be changed to be configurable, like the amount of voice slots per shard and weather to use emscripten-opus or node-opus.
LevelUP (or LevelDB if you wish) does not require the installation of any software to run and depends solely on NPM modules.
Changing to LevelUP removes a hefty software installation requirement, not to mention Redis doesn't have native Windows support.
https://github.com/Level/levelup
@SteamingMutt commented on Fri Dec 18 2015
Add more info to Whois, like last online time, discriminator, assigned roles, etc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.