Giter Site home page Giter Site logo

powercord's People

Contributors

12944qwerty avatar 21joakim avatar canadahonk avatar cloudrac3r avatar cyyynthia avatar davidcralph avatar davoleo avatar deenoz avatar fezalion avatar funlennysub avatar ghostlydilemma avatar griefmodz avatar intrnl avatar jacqueshumule avatar juby210 avatar kablekompany avatar katlyn avatar landenstephenss avatar lexisother avatar luckspt avatar mrlar avatar nuckyz avatar rolkoztm avatar sacrebleuxcvii avatar thecyberronin avatar tttie avatar vendicated avatar weblate avatar xtyua avatar yumiro 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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powercord's Issues

Keep messages that mention you inside of the "Recent Mentions" menu, even if they are deleted

Feature request

It may sound far fetched, but I don't think it could be too difficult if messages that mention the user are cached, either in memory, or externally for a certain amount of time. This would solve the ever-aching issue of getting "ghost-pings".

There could also potentially be a switch near the top of the "Recent Mentions" modal to toggle seeing ghost-pings (see below)

concept

[Injector] Support multiple installation paths on Linux

I cannot inject Powercord into discord canary, the error I get is this one:

$ sudo npm run inject
[sudo] password for yanderella: 

> [email protected] inject /home/yanderella/powercord
> node injectors/index.js inject

fucky wucky { Error: ENOENT: no such file or directory, mkdir '/opt/discord-canary/resources/app'
  errno: -2,
  code: 'ENOENT',
  syscall: 'mkdir',
  path: '/opt/discord-canary/resources/app' }

I expected powercord to inject successfully by the fact that I have followed all the steps

  • OS: Linux
  • Discord version: Canary 0.0.67

Also, I checked that specified folder and there isn't anything, I installed canary using dpkg via terminal.

[ Suggestion ] Make the Spotify Modal restart the song at a specific threshold

Make it so that pressing the "previous" button while the song has a duration longer than a specific amount (say 5 seconds), it replays the song instead of playing the previous song.

so this would restart the song:

restart

and this would play the previous song:

previous

excuse the last gif being weird, i can't record things properly.

[Suggestion] Badges for certain users

Next to certain users names, there should be badges. For example,
Developers [aeth and maybe bowser]
Contributors [gord, nycex]
Beta Testers [myself, basically all users in Aetheryx' Hub who use PC right now]
Bug Hunter [self explanatory, maybe only give out for more major bugs and not visual things, but up to you]

In addition, maybe per-user tags for users? e.g: right click kosame#3658 -> add tag -> "stupid"
when kosame#3658 next speaks:

kosame#3658 (BADGE IF APPLICABLE) [stupid]

idk just an idea, but this issue mainly is for the first half of this

powercord badges wont reset when viewing a new profile.

if i'm on someone's profile and they have powercord badges and i go to mutual friends and click someone (and that person has at least 1 discord badge), the badges from the first user will be displayed regardless of if they even have a powercord badge or not.

[Feature Request] [Spotify]

Have the option to disable the new buttons for the Spotify plugin.

  • If the setting is disabled, the context menu options would be enabled and the new buttons would be disabled
  • A new CSS class would possibly have to be created to make it look like before the buttons were added

[Feature Request] Plugin to receive, and forward events.

Describe the feature request
Perhaps a plugin for Powercord that can take standard Discord events, such as message create, and non-standard events such as a self-user mention and forward them to a given location, i.e. an IP address of a HTTP server that accepts payloads.

This server can then be coded to perform user-provided actions, in the case of a raspberry Pi it could perhaps activate a light strip for 3 seconds to indicate you've been mentioned.

What Plugin would it be for?
EventForwarder, idk

Expected behavior
Plugin receives MESSAGE_CREATE event (or non-standard event like when the current user is mentioned), and forwards a simple payload to a HTTP server located at a user-specified IP/domain. (i.e. POST http://127.0.0.1/discord, body { action: "MENTIONED" })

[Suggestion] [Spotify] Save a song to library from context menu

I think being able to save the currently playing song to the library would be cool.

I have code in place to add the currently playing song to the user's library. There is an API to check to see if a track is saved and then of course one to save it.

We'll need to add the scope user-library-modify to the scope on the backend (if the feature is wanted, it'd be an easy PR to do). I can successfully add a song to my library with the code I have now.

Just 2 design questions:

  • Should I check to see if a song is in the library when a song is started? If we go that route, when a song starts, we can decide to render the option or not. I'm slightly worried about rate limiting if someone is skipping a lot of tracks.
  • I was thinking we could add a little plus symbol in the lower right hand of the album/track image if it's not currently in your library, then click it to add it to the library, that sound good?
    image

*There is a weird CSS thing where it seems to be showing part of that as transparent, I'd obviously resolve the issue or take another route to get the same styling

[Spotify] Support `episode` type

Describe the bug
Modal won't load for an episode type. Podcasts and movies are considered episode from what I can tell

To Reproduce
Play a podcast or movie in Spotify.

Expected behavior
The modal should operate as normal

Additional context
Unfortunately this will have to be a slight overhaul to the state because there is no context prop for episode type. It gives a progress in ms, but I didn't see a length of the episode. So maybe the progress bar will be disabled for them? Will have to look further at the info from the API.

payload.events is not iterable

Uncaught TypeError: payload.events is not iterable
    at WebSocket.socket.onmessage._onmessage (..\nevcord\src\Aethcord\plugins\spotify\index.js:42:41)

Whilst scrolling through the DevTools console, I saw two of the same error (shown above), one right after the other. I'm not able to reproduce this error, and nothing else notable happened in the console 5 minutes before or after the error, however something that could be related is the fact that my Spotify token expired around this time.

I am using my own fork of Powercord, however it's up to date with the latest commit and I've only made visual changes.

[Spotify] Broken when streamer mode enabled

Due to the fact that discriminator is missing in the user account info, so we can't get the style of it
TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.

[Translator] Error translating big messages.

Describe the bug
Unable to translate big messages.

To Reproduce
Steps to reproduce the behavior:

  • Find or send a message with over 1500 characters.
  • Try to translate it.

Expected behavior
Message should be translated.

Desktop (please complete the following information):

  • OS: MacOS
  • Discord version: [BUILD INFO] Release Channel: canary, Build Number: 30945

Additional context
Error message in console: Uncaught (in promise) TypeError: Cannot create property 'headers' on string

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.