GithubHelp home page GithubHelp logo

joe27g / enhanceddiscord Goto Github PK

View Code? Open in Web Editor NEW
219.0 13.0 55.0 699 KB

A lightweight Discord client mod.

Home Page: https://enhanceddiscord.com

License: MIT License

JavaScript 72.43% CSS 4.95% C# 22.61%
discord discord-plugins enhanceddiscord betterdiscord client-mod

enhanceddiscord's Introduction

END OF SUPPORT

EnhancedDiscord is being shut down. It's been nice while it lasted, but we can't keep up with the maintenance that Discord's constant changes require. There won't be any more updates, and on April 12th, all support will be dropped and the site will go offline. We recommend you find another client mod that is actively maintained.



EnhancedDiscord

A lightweight client mod designed to enhance your Discord experience without slowing down your PC.

DISCLAIMER!

Using EnhancedDiscord, or any other client mod, is against Discord's Terms of Service. Use it at your own risk. It's very unlikely any action will be taken against you, but we take no responsibility if anything happens.

Installing

Go to https://enhanceddiscord.com and hit the 'Download' button, or if you're lazy, click here.

For more info, including installing on Linux or MacOS, see the installation wiki page.

Themes

By default, the official EnhancedDiscord theme is loaded along with a plugin that allows you to change settings of it in User Settings > EnhancedDiscord > Settings. For more info on how to change/edit your theme, see the FAQ.

Plugins

A list of included plugins and their purpose is included on the plugins wiki page. It also includes some sources for finding new ED plugins.

Custom plugins

For info about how to create your own plugins, check out the custom plugins wiki page.

Having issues?

First, check out the FAQ to see if your issue is listed there. If not, ask in #support in the support server (link below.)

enhanceddiscord's People

Contributors

hypertyrannical avatar indyv avatar infinixius-zz avatar intrnl avatar jakub-studio avatar joe27g avatar juby210 avatar llyyr avatar masicorelord avatar nfearnley avatar rauenzi avatar twnlink avatar xenorio avatar xirreal avatar youknowblom 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

enhanceddiscord's Issues

Data attributes

Data attributes and classes in messages, members, guilds etc. for plugins/themes to mess with.
These data attributes examples are taken from BDv2

image
image
image

Quicker saving

Making control + s work when editing server settings would be so much easier.
Or autosaving every X amount of seconds.

1520611314

Easier message editing/deleting

Double-clicking to edit a message could be quite useful, it has been done in BD.
Also holding delete while clicking a message might be easier too. (Jakuski's idea)

Discord crashes when going into settings

With multiple attempts of going into discord settings by reinjecting and reinstalling, it returns an error window then restarts discord. Logs show normal operations

Capture

Memory leaks

It looks like ED is suffering from memory leaks, or normal discord itself.
It has nothing to do with BD plugin loading either, as it happens on both.

https://thatlifeofgames.com/img/1542569403.png (had to close with task manager as it totally crashed)
https://cdn.discordapp.com/attachments/415248292767727616/513798431266045963/unknown.png
https://cdn.discordapp.com/attachments/415248292767727616/513817209982943241/unknown.png
https://cdn.discordapp.com/attachments/415248292767727616/513817577839919124/unknown.png

Plugin converter

A way to open existing DiscordInjections and BetterDiscord plugins and convert them to ED plugins.

Notes:

  • Would have to reject some plugins based on WebSocket connection
  • Convert several statements from "DI.client" or equivalents to modules

installer problems

ok, so several people have had problems with being unable to launch discord due to the injection path being wrong/ the file not existing. to ensure that these errors are non-destructive, some of the following should be done:

  • download and extract the ED files BEFORE injecting
  • check that the path exists before setting it as the injection file
  • maybe add a note saying to uninject before deleting injection file

also, a note that's somewhat related: checking registry entry Computer\HKEY_CLASSES_ROOT\Discord\shell\open\command could make the installer better.

Reload is only a "soft" reload

Reload button in plugins tab only reloads from the cached version of the plugin, not actually reading it from the file again [this is why IDs were created]

License?

What license is this supposed to be available under? There's no COPYING or LICENSE in the root of the repository, and looking at a couple of source files I also didn't see a license declaration there. Or is this supposed to just be "public source" and not open source?

ED Crashing when clicking on settings icon

Just recently downloaded this and am loving the new skin on Discord. Wanted to still be able to use my settings button on the screen though.

Every time I click it with ED on, it crashes my Discord.

Edit: Everything else works just fine on it

Plugin dependencies

As more and more util and helper plugins are released, the next logical step would be to add a form of dependency system where you could declare other plugins that your plugin rely on.

I'd imagine it might need to modify how plugins are loaded, as the load order will be important (we skyrim now boys)

Selective Presence

Don't even know if this is possible but a plugin which allows you to choose what app's RPC to go to your profile and block other apps from showing up.

Server Full format emote

A plugin that show all available emotes of the server in the full format like <a:yeet:416559878291718144>

Grammarly support

So uh, spell checker is pretty good but grammarly is better, is it possible to replace it?

Might be quite complicated but a really cool feature.

Cannot read property 'name' of undefined

This began happening with the Discord update that added server boosting. Attempting to launch Discord Canary (Untested on other builds) with ED enabled results in this error:
image

plugin.js & injection.js are broken

line 92 catches an error from line 80 [return this.settings = final;]
also catching an error at injection.js line 4 column 18 electron.session.[defaultSession.webRequest.onHeadersReceived(function(details, callback) {]
images attached.
Screenshot from 2019-09-10 17-10-39
Screenshot from 2019-09-10 17-11-27

New installer (Blom plz release)

It's pretty clear that the current installer is in need of replacement, particularly because of the lack of cross-platform support. So the purpose of this issue is to combine #49, #70, and #92 and just say we need something new.

To summarize, the issues that need to be addressed are:

  • Proper cross-platform support
  • Option to choose beta branch or a custom fork
  • Better path-finding, including custom paths and allowing spaces in usernames
  • If the user needs dependencies, prompt them instead of letting it throw an error
  • Attempt to download and extract files before injecting to avoid broken Discord installations
  • Add other checks to make sure that files exist and add some error handling in index.js or the file that points to injection.js (since the injection method will likely be changed as well)

Using findModule and others

I apologize if this is the wrong place to ask this but I didn't know where else.

I'm wondering how to figure out what modules to use "findModule/findModuleByDisplayName" for.
I can pick some stuff out via React Dev-Tools, but I can't figure out where you'd find modules such as "sendMessage" and "getMentionCount" and how you can find those and use them?

Another thing I've been struggling with is accessing values on the TextArea object,
Let's say I want to grab the TextArea findModuleByDisplayName("ChannelTextArea") and then, set the content for a script?
I cannot access the .value prop of it so I guess due to my lack of understanding on this, how would that be achieved.
I can set it by grabbing the textArea using js and manually doing .value but the textbox fails to realize that the textbox has been updated.

Again, my apologies if this isn't correct or I'm just not seeing something.
Thanks!

Installer crashes Discord Client without error

During installation, Discord Client closes (which I believed to be intentional), but instead the process had uncleanly terminated.

Only error detected was in deletion of local files, where Windows username has space and program did not account for this (where name is John Doe, "Could not find C:\Users\John")

Issue with installer

Good evening, I've been experiencing the following issues with the installer, I managed to install ED manually on the regular Discord version (still running in to some plugin issues) but I seem to be unable to resolve this issue with the installer, log gives the following error.

[INFO][1:48:14 AM Thursday, February 14, 2019]: Starting... [INFO][1:48:15 AM Thursday, February 14, 2019]: Using release discordcanary [INFO][1:48:15 AM Thursday, February 14, 2019]: Injecting... [INFO][1:48:16 AM Thursday, February 14, 2019]: Detected platform: Windows | Discord release: discordcanary [ERROR][1:48:16 AM Thursday, February 14, 2019]: Could not fine injection file with basepath C:\Users\Brian-PC\AppData\Roaming

My roaming folder isn't in the default location as I have moved this in the past to a larger SSD, which appears to be causing this issue.

Settings tab

Settings tab appears only when pressing experiments it appears but it works only in ed vanilla.
With installed bd and ed at once, ed and bd works but settings tab from ed is not appearing from any click on experiments
Please fix it so fast xd

Unhandled Exception on install

Untitled

This pops up when I try to install EnhancedDiscord.
My computer is running Windows 7 x64, and my Discord install is completely vanilla.

No clue how to fix this. :/

CSS settings tab

A new tab in user settings that lets you change theme settings, i.e.:

  • Background URL/opacity
  • Accent color
  • Unread color
  • Popup background/header color
  • Link/mention color

Autocorrect

Discord has regular spell check, but why not autocorrect?

Suggested by Maxbeebs, not me.
image

Crash upon trying to open a server

I'm on Linux, using only for CSS. At some point a few days ago I had closed discord and when I reopened it the CSS had loaded in fine and I could see DM's, friend's list, ETC. But upon trying to open a server, discord crashes, giving me this page https://imgur.com/a/Vm4EPkl. I confirmed this only happens after adding the lines to the top of the inject.js file.

Double click edit opens edit prompt regardless of message author

The double click edit will allow you to "edit" messages that weren't posted by you. It will raise an error from discord in the developer console if you change the message contents and then click save.

I'm using the beta branch for ED which also has a different version of that plugin compared to the stable branch it appears.

Possible solution

  • Check if the message was authored by the client, and if it wasn't, don't open the prompt.

Edit prompt on non-authored message

img

Error in console (standard discord error)

img

Limit to CSS

While trying to use the "Add new plugin or theme" option, and selecting my own CSS theme, nothing happens. So I tried installing a theme, going to the folder for the plugin, and replacing the CSS in there with my own, which was similar enough in size, but when I reloaded discord it seemed that the injector crashed all together when looking in settings. Testing with only parts of my theme, it seems that it works up until a certain number of lines, regardless of the contents of said lines.

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.