Coder Social home page Coder Social logo

send-audio-plugin-betterdiscord's Introduction

Send Audio Plugin

Record and send audios in chat

Preview

preview

Send

send

Settings

settings

send-audio-plugin-betterdiscord's People

Contributors

aarondoet avatar mksx 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

send-audio-plugin-betterdiscord's Issues

Record button doesn't show up.

Currently running the plugin via BDCompat in powercord.

Error in console when activated.
image

No record button.
image

Recently powercord was given an update which removed remote, which may have caused this plugin to no longer function on Powercord.

XSS in recordingInfoPanel

Issue

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.

Result:

Result

Webcam and Screen Recording feature

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.

Ability to rename voice files during preview

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!

Audio files are missing meta data and the file ending is wrong

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.

Stop using BDs global variables

BetterDiscord currently still has global variables like bdplugins but they will get removed soon.
You are using the following globals:

  • bdplugins (1, 2, 3)

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.)

Will not let me send audio.

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.

Synonym Plugin

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!

[Enhancement] Don't add button when you have no permission to upload files

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.

Not working anymore

Hey, i love your plugin and I don't know if you'll keep updating it. I hope you do :D

Plugin broken

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 !

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.