computermaster1st / railgun Goto Github PK
View Code? Open in Web Editor NEWRailgun Re-written w/ C# + Entity Framework
Railgun Re-written w/ C# + Entity Framework
When a search phrase is used to request a song, it would be nice if the song that was chosen would be linked in Railgun's response that the song was queued. In cases where song requests are made available to be used by anybody, this would make it easier to preview the songs that are placed in the queue in order to moderate the requests that are made. Currently, the actual YouTube name of the chosen song is included, but it has to be manually searched for to listen to it.
This involves Join/Leave Notifications and anything else the EFCore tracker isn't able to track properly
rgmusic show
<< Missing "Vote-Skip" configuration or is not working properly.
rgmusic queue
<< Have this show now playing also.
Hello there, dear developers of Railgun.
I just came across this bot and I freaking loved it. It brings some features that I haven't seen anywhere before and I think this one does it very well (been able to upload an audio file to a playlist e.g.)
With the few hours I have been using it, I already noticed a potential for parallel features. I've been thinking, what if Railgun could auto play a certain song when someone joins the channel (it kinda already does that). What I mean is, being able to assign a song to someone when they enter the voice channel.
I thought about that when I downloaded a bot called KITT that says a certain phrase when someone joins the voice channel it is in and you are even able to assign for each member, a different phrase. It would be awesome to have Railgun play a "theme" song for the member of the server when they join the voice channel, since it is already able to auto join and auto play a song when someone joins it. Railgun would "escalate" things a little bit hehe.
I know it is probably quite a minor thing that almost no one will care about and I know this is probably not your big priority right now but, I just wanted to state my wish here and hope that one day Railgun will be able to do this things.
If you have read this till the end, I thank you very much for your time and hope you all a successful future.
Kind wishes.
Would be neat to have the bot be able to post a random message at scheduled times (daily, weekly, etc). Personally, I'd like to use it for a 'Question of the Day' or 'Fact of the Day' type thing.
Error message came up when I tried adding music to my server. Could be I have too much music for my server (880 songs rn). Hope this gets patched, but just leaving this here for info. Thanks!
The audio quality of the bot is really bad..Its like its lagging a lot..A lot of cuts in voice..Really bad Audio quality ..Earlier everything was fine.but now suddenly this happened
rgwarn <@mention> [reason] does not state in the documentation that it needs the bot to be able to ban people.
Using the command prompts the following: Command Error: I do not have permission to perform this command! SERVER-PERM-MISSING : BanMembers
Would it be possible to shorten the rg music Command? Something like rgm would be nice. :)
A role position is needed to prevent the command from causing errors when attempting to ban someone that's a higher role.
EDIT : Should be checked on kicking user aswell
When trying to download a new song for the queue, MusicSecheduler.FetchSongAsync throws an exception (stack trace below). I checked YoutubeExplode and it's working as intended so the most likely scenario is that the data passed into FetchSongAsync method is incorrect but I'm unsure because I haven't set up a local environment to test it. If you need any more info please let me know either here or on discord (Noir#4200).
Railgun.Music.SongQueueException: A song failed to queue! - YOUTUBE#XN63ceDE6QI
---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 410 (Gone).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at YoutubeExplode.Bridge.YoutubeController.SendHttpRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken) in D:\a\YoutubeExplode\YoutubeExplode\YoutubeExplode\Bridge\YoutubeController.cs:line 59
at YoutubeExplode.Bridge.YoutubeController.SendHttpRequestAsync(String url, CancellationToken cancellationToken) in D:\a\YoutubeExplode\YoutubeExplode\YoutubeExplode\Bridge\YoutubeController.cs:line 67
at YoutubeExplode.Bridge.YoutubeController.GetVideoInfoAsync(VideoId videoId, String signatureTimestamp, CancellationToken cancellationToken) in D:\a\YoutubeExplode\YoutubeExplode\YoutubeExplode\Bridge\YoutubeController.cs:line 144
at YoutubeExplode.Videos.Streams.StreamClient.PopulateStreamInfosAsync(ICollection`1 streamInfos, VideoId videoId, CancellationToken cancellationToken) in D:\a\YoutubeExplode\YoutubeExplode\YoutubeExplode\Videos\Streams\StreamClient.cs:line 307
at YoutubeExplode.Videos.Streams.StreamClient.GetManifestAsync(VideoId videoId, CancellationToken cancellationToken) in D:\a\YoutubeExplode\YoutubeExplode\YoutubeExplode\Videos\Streams\StreamClient.cs:line 320
at AudioChord.Extractors.YouTubeExtractor.ExtractSongAsync(String videoId, TimeSpan maximumDuration)
at AudioChord.MusicService.DownloadSongAsync(String url, Boolean ignoreCache)
at Railgun.Music.Scheduler.MusicScheduler.FetchSongAsync(SongId id) in X:\Railgun\Railgun\Music\MusicScheduler.cs:line 233
--- End of inner exception stack trace ---
at Railgun.Music.Scheduler.MusicScheduler.RequestNextSongAsync() in X:\Railgun\Railgun\Music\MusicScheduler.cs:line 83
at Railgun.Music.Player.StartAsync() in X:\Railgun\Railgun\Music\Player.cs:line 149
Hello guys,
I ask that because on my server I see railgun connected, but she doesn't answer any command; atmost any command with the old format.
She has online status and her classic status message of use rghelp for help, but she doesn't say nothing.
And you can't re-add her, because she is currently on 100 servers.
I only ask just to know the future of the project.
Thanks.
Hello guys,
On our server we have a playlist of 601 songs, and when we play one song that is already on the playlist, it works, fine.
But, if we try to play ssomething outside of the playlist, whatever a random word to search on youtube, or directly a youtube link, the song isn't played.
The bot sais XXX song quewed, but anithing other song on the playlist was played instead.
Any error message, any bad advidce. simply the song is ignored and go.
Exist a playlist limmit that we've reached? is currently a unfixed problem with the bot?
thanks
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at RailgunVB.Core.Events._Closure$__19-1._Lambda$__0() in /home/computermaster1st/Github/RailgunVB/RailgunVB/Core/Events.vb:line 117
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Aborted
Railgun has a chance to be in the bite when someone types rgbite @mention.
So messages like "biter bit railgun" are common.
On my server, I have railgun nicknamed BB-8. I don't know if that would cause an issue, but it is something I've changed.
I don't know if this is intended, but it is annoying if you want the bite to be between just you and someone else.
My streamer friend has a community discord and we're using the Railgun Bot as a Random Fun Fact Bot, so we've been feeding it with a few random Fun Facts about her an her Team. Some of the Facts are rather private, aome have a bit of ba grammar and she's been getting more attention lately, so I decided to just get the list by using rgrst list and edit it. Now I used the rgrst reset to delete it and import the edited list with rgrst import and attaching the file, but I always get the message
"RST data file processed! Added 0 RST entries!"
Even though there's around 40 facts. What did I do wrong?
would it be possible for you to bring out a second RG?
Backround Infos:
Me and my friends have a Discord for Gaming. And some want to only hear music(Its a Radio-Channel). In this voicechat they want to disable speaking. But at the same time they want a music bot in their Gaming-VoiceChat, in which they can speak, etc. And the want RG xD (me too its the best^^)
But dont feel forced to do that....I know its silly but maybe its possible xD
You did much for me until now...
Thanks
GameofDragons
This feature should allow users to set whether they want these messages to remain or delete after a certain time has expired.
Server mods/admins should have the ability to whitelist themselves &/or other users from the filters. This has received a fair few complaints and should be looked into very soon.
Server ID: 492563500581781505 Message ID: 505921657030836246. Won’t work for some reason idk why so just reporting here.
Would it be possible to add a lyrics function to let RG search for lyrics of the current playing song?
Allows us to set a custom playlist or song for auto-join to play instead of the predefined one.
Basically the ability to mute a user for X amount of time in all channels/voice chat.
Sort of like nadeko's mute command but better
Example: rgmute <@username> [time here]
The time is optional but it would allow you to mute someone for X minutes, days or weeks.
Examples:
rgmute @irishmanofsteel 35D (d = days)
rgmute @ivanivanovsky 1W (w = weeks)
rgmute @mr_pootis 15M (m = minutes)
rgmute @penis_slayer (nothing = until the mute is done again)
If a user is already muted but the command is used on him again (without time) then he will be unmuted.
This would allow moderators to basically "ban" someone without the need to kick them off from the server.
The reason why people would use this instead of the ban command is because that way you don't have to through the trouble of unbanning someone in X amount of time (plus re-inviting them)
The only thing the bot would need would be the ability to give someone roles (and then have the bot create a "railgun mute" role on join)
The role should have the following abilities disabled: Create invites, Send messages, speak in VC & add reactions.
Hope I explained this well enough.
The title says it all. This is a feature that all my server members THINK is in place, as I use the bot as a 24/7 music bot in a certain VC. Nobody knows how to operate it, so we all good, but I would like this feature to be implemented (to all music, not just playlists nd such) that way I am sure that nobody can mess with my server’s music. Thanks!
Hi.
I invited the bot to the server and gave is all the permissions, but I can't use any command. I tried to use the rghelp command, but nothing happened.
What are the commands I can use?
Hello guys,
I've added the new railgun's bot to own server, and we can recovered a old playlist file that we've exported when the old railguns works, a few weeks ago.
But, when I tried to import that playlist file using the rgm playlist import command, railguns trowed this error:
OH NO! Something bad has happened inside of me! I've alerted my developer about the problem. I hope they'll get me all patched up soon!
ERROR : Invalid songId identifier (invalid '#' count) >
What happened?
the playlist is unimportable and we have to add all the songs again because the database was reseted?
I attach the playlist.
again, thanks for all!
Why currently railgun is unavailable?
We have added railgun to our server a lot time ago and works fine, but afew days ago any command don't work on her, and She starts to send estrange messages about roblocks promo codes another stuff to the admins that we added her as a contact.
Where I can get news or information about the bot?
To wait when she returns to the normality.
Thanks for your development.
Waiting for news.
with the auto join feature, is their a way to have different songs for different people? for example if person A joins it plays song 1, if person B joins it plays song 2. Thanks
Hello guys!
First of all thanks for this awesome bot!
So, is possible add a command to set a default playing volume for the music?
We have a server for blind people, and everione loves railgun; but the problem is when someone new joins to the server, and don't set manually the volume for railguns, at 100% is anoying for us, because is lowder than the screen readers. So is a big deal stop the music, explain to the new comers how to set the bot's volume, and set it again.
So is possible work in a feature like this? IS if possible thanks!
After was happend today, I wish for an import/export function for the playlist. (Like a told in discord)
My idea about this is to export a file, maybe a txt file, to save/backup the playlist local. After the playlist get lost or you want a other playlist, you can restore/change the playlist with the backup-file.
Could be a {progress}/{total} too, I guess.
It would be useful if there were a way to remove a song that was manually added to the queue. The closest equivalent right now is manually skipping it as soon as Railgun starts to play it, which requires additional attention.
Could you add a multiple playlist feature?
Would be nice. :)
Basically the same command to be used for removing videos, but for playlists. Just bc yeah cool feature.
VB is the tumor of .NET. Rewrite in C#.
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.