dandln / theepicaudiostreamer Goto Github PK
View Code? Open in Web Editor NEWA Discord bot that streams audio from a local device to a voice channel.
License: MIT License
A Discord bot that streams audio from a local device to a voice channel.
License: MIT License
I'd like to be able to start this up without doing any command line inputs after starting the program, as such something like
teas.exe -p <prefix> -t <token> -d 1
or
teas.exe -p <prefix> -t <token> -n "Speakers (High Definition Audio Device)"
for -d
device number or -n
device name?
Would it be possible to add an option to start the bot such that it listens to you as a bot owner, even if you are not a server manager? If you've persuaded the managers of a server to add your bot to the server in the first place then likely it is expected that you as the owner can control it, even if you do not manage the server.
hi i was wondering if it would be possible to add a feature to auto join voice channels and also a way to automatically move to speaker if in a stage?
i usually use /joinst but it would be good if its possible to set it up to join automatically when the bot is online/ when launching via .bat
idk much bout coding. but i wanted to ask. if i wanted to add more slash commands or edit the code stuff? i believe i should be looking in https://github.com/dandln/TheEpicAudioStreamer/blob/master/TEASLibrary/Bot.cs / Utils.cs right?
p.s i wanted to say thank you for making such a really good tool to play music locally through discord bot~ i've been using it for months~ it helps alot~
Hello,
Thank you for good tool like TEASConsole. Its helps me alot to stream audio to Discord. But now I have big problems about this tool.
Few weeks ago I noticed that this script using all my server RAM (Server have ~120GB) , so TEASConsole.exe ate more than 100GB itself.
I was forced to closed application and run it again. After restarting application ate jus ~50MB, but yesterday its happens again. After force close I can not run this application anymore without these errors:
[2022-04-03 12:04:37 +03:00] [101 /Startup ] [Info ] DSharpPlus, version 4.2 .0-nightly-01045 [2022-04-03 12:04:39 +03:00] [108 /WebSocketRec] [Error] Socket handler suppress ed an exception Newtonsoft.Json.JsonSerializationException: Error setting value to 'OAuthFlags' on 'DSharpPlus.Entities.DiscordMember'. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DSharpPlus.Entities.DiscordMember.get_User() at DSharpPlus.Entities.DiscordMember.set_OAuthFlags(Nullable1 value) at lambda_method308(Closure , Object , Object ) at Newtonsoft.Json.Serialization.ExpressionValueProvider.SetValue(Object targ et, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.ExpressionValueProvider.SetValue(Object targ et, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValu e(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object tar get) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject( Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty m ember, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(Js onReader reader, Type objectType, JsonContract contract, JsonProperty member, Js onContainerContract containerContract, JsonProperty containerMember, Object exis tingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInte rnal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty mem ber, JsonContainerContract containerContract, JsonProperty containerMember, Obje ct existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IL ist list, JsonReader reader, JsonArrayContract contract, JsonProperty containerP roperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(Json Reader reader, Type objectType, JsonContract contract, JsonProperty member, Obje ct existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInte rnal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty mem ber, JsonContainerContract containerContract, JsonProperty containerMember, Obje ct existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Jso nReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.Serialization.JsonSerializerProxy.DeserializeInternal(Json Reader reader, Type objectType) at DSharpPlus.Net.Serialization.SnowflakeArrayAsDictionaryJsonConverter.ReadJ son(JsonReader reader, Type objectType, Object existingValue, JsonSerializer ser ializer) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConv ertable(JsonConverter converter, JsonReader reader, Type objectType, Object exis tingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValu e(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object tar get) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject( Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty m ember, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(Js onReader reader, Type objectType, JsonContract contract, JsonProperty member, Js onContainerContract containerContract, JsonProperty containerMember, Object exis tingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInte rnal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty mem ber, JsonContainerContract containerContract, JsonProperty containerMember, Obje ct existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Jso nReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectT ype) at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonS erializer) at Newtonsoft.Json.Linq.JToken.ToObject[T](JsonSerializer jsonSerializer) at DSharpPlus.Net.Serialization.DiscordJson.ToDiscordObject[T](JToken token) at DSharpPlus.DiscordClient.HandleDispatchAsync(GatewayPayload payload) at DSharpPlus.DiscordClient.HandleSocketMessageAsync(String data) at DSharpPlus.DiscordClient.<InternalConnectAsync>g__SocketOnMessage|445_1(IW ebSocketClient sender, SocketMessageEventArgs e)
Discord bot showing this error when using /joinst: The application did not respond
My env:
I am creating this issue to keep track of some changes/improvements to the system that checks whether a user is allowed to issue commands.
This was prompted by @JoqniX comment in #2:
hi is it possible to tie this under a role too? like how other music bots has a dj role? or so?
This should be straightforward to implement. Also, the original suggestion of #2, enabling the owner of the bot to issue commands regardless of their role/being specified as an "admin user" is also possible now, and will therefore be implemented.
I am planning the following changes:
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.