mksx / send-audio-plugin-betterdiscord Goto Github PK
View Code? Open in Web Editor NEWRecord and send audios in chat
Record and send audios in chat
Hey, I'm once again sorry for sending this request as an issue. Thus, I've been trying to add you as a friend on discord for days now.
Discord: sagaxd#6723
So what just popped up in my head was, a synonyms plugin. Imagine middle clicking with your mouse on a specific word in the text input or your previously sent text. And then a magic list of synonyms for that word appears! If it's a previously sent message, it'll edit itself automatically.
Anyways, please consider adding my discord!
When I hover my mouse over the record icon, it turns into a red circle with a strike through it, and will not let me use it plz fix.
Your plugin sends audio files without meta data and with the wrong file ending.
Regardless of the setting, your addon sends opus files with an mp3 ending, which makes them unplayable on most devices without first changing the file ending.
The missing meta data also means that the mini-player discord has doesn't know the duration of the file until it has been played completely, and it also means you can't jump around within the file.
Test it with a 2+ minute recording, it's really unusable.
I'm not JS savvy, though I wish I could help.
Other than that, the idea of the plugin is wonderful! Keep making these wonderful ideas!
When you don't have the permissions to upload files/send messages in a certain channel there should be no option to send an audio there. It will just fail when sending and instead of silently failing (discord will show a message) it would be better if there was not even the option. That way users won't be confused why the audio won't send.
Yes, I know. This isn't really an issue. More of an addition.
Why I'm sending this is because i didn't know of any other way contacting you.
You Ricardo Milos Cultural man.
What I'm suggesting is. More features other than to record audio. What if, you could record your webcam at the right of the chat input. What if there also was a button for screen recording, how amazing.
Anyways, so far I'm honoured using your plugin and just have to say that it's pretty epic.
Plugin not working can u fix ?
Stable 60661 (578c2e8)
BBD 0.3.4 (4e4ea15)
Host 0.0.306
Injector 0.4.1
Windows 10 64-Bit (10.0.18363)
Hi ! So actually the plugin is broken on my discord, here are the symptoms : The parameters of the plugin don't change anything ; the file is empty of any audio, even in the preview (maybe because the plugin is connected to a virtual microphone, but since I can't change the settings, I can't be sure.) ; the file is not readable by conventional audio players: they consider the track length to be either 0 or several hundred hours. Discord considers the length of the track to be 0. That's all I know, thanks in advance !
PLEASE :(
Before sending the audio file give an option to listen to the audio again and then decide if you really want to send the file or rather discard it.
.OGG voice files are unplayable on iOS for mobile
Hey, i love your plugin and I don't know if you'll keep updating it. I hope you do :D
BetterDiscord currently still has global variables like bdplugins
but they will get removed soon.
You are using the following globals:
Also you should not be using global variables, just use let
to create them. Then they won't be global and your plugin can still access them all.
Please also don't delete globals used by others, this will cause a problem when your plugin loads the library first but another one is also using it. (Just don't use the remote library at all. Tell the user that the library is missing and don't use the remote library instead.)
Hello, please add my discord sagaxd#6723
A couple of weeks ago you told me to add your discord though i never got an answer back.
I'm sending in this request because I don't know where else to contact you.
Cheers!
On line 1072, data
is declared as:
const data = `Recording in ${SendAudioUtil.getChannelName(type)} (${SendAudioUtil.getGuildName(type)})`;
And the getChannelName
/ getGuildName
does not sanitize the name.
data
is used to create the SendAudioUtil
panel and is not sanitized either.
If you want to test this, you can rename a guild or channel to <img src=x onerror=alert(1)>
and click the record button.
Don't just add a send and a stop button but also a button to pause the record. Then you can resume after some time again.
when clicking the record button nothing happens
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.