Skip to content

Instantly share code, notes, and snippets.

@samogot
Last active July 11, 2022 16:20
Show Gist options
  • Save samogot/774d3d2059402d5173a72524e39dd7d0 to your computer and use it in GitHub Desktop.
Save samogot/774d3d2059402d5173a72524e39dd7d0 to your computer and use it in GitHub Desktop.
Reply to people with a button, quouting full message or selected text
There is new version of quoter plugin! See here: https://github.com/samogot/betterdiscord-plugins/tree/master/v2/Quoter
If you neen Quoter 2.8 - look into gist's history.
How to use:
There is Quote button appears on message hover. It doesn't work in compact mode.
- Click Quote button to quote full messages group.
- Select some text and click quote button to quote only selected text
- You can quote several messages at once
Time of quoted message will be printed in your locale and timezone for everyone. It is known issue, maybe in future I'll fix it.
Availiable locales: ru, ua, en, nl, fr
Based on replyer plugin https://github.com/cosmicsalad/Discord-Themes-and-Plugins/blob/master/plugins/replyer.plugin.js
Changelog:
3.0
- Brand new version of plugin. See here https://github.com/samogot/betterdiscord-plugins/tree/master/v2/Quoter
2.8
- Add FR localization (thanks to WiBla#9508)
- Add channel name for DM quoting
- Fixed quoting of multiline selection
2.7
- Add Dutch localization (thanks to HoLLy#2750)
2.6
- Copy quote of multiple selected messages into clipboard by Ctrl+Shift+C
2.5
- add info about channel (usefull if you want to copy quote somewhere else)
- fix quoting "(edited)" text
2.4
- fix locale regression
2.3
- fix typo quoute -> quote
- add quote text to the end of current message, allowing to quote several messages at once
2.2
- add localization (ru and ua)
2.1
- fix conflict with Replyer plugin
2.0
- inital version of this fork
1.x
- Replyer plugin
@WiBla
Copy link

WiBla commented Dec 11, 2016

It's a shame it don't work in compact mode, have you tried to put the "quote" button elsewhere ?
A way to know if user has compact mode enable is :

if ($('.compact').length > 0) {
  // user has compact mode
}

Hope this helps.

@EyesWithoutFace
Copy link

still waiting for compact compatibility

@Flybel
Copy link

Flybel commented Feb 27, 2017

Locale Language code LCID string
German - Austria de de-at
German - Germany de de-de
German - Liechtenstein de de-li
German - Luxembourg de de-lu
German - Switzerland de de-ch

German translation: Quote: "Zitat"; from: "von"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment