|
1 | 1 | # purple-discord |
2 | 2 | A libpurple/Pidgin plugin for Discord |
3 | 3 |
|
4 | | -( For free/libre software that allows you to create/manage your account with Discord, check out [Harmony](https://github.com/taylordotfish/harmony) ) |
5 | | - |
6 | 4 | Windows |
7 | 5 | ------- |
8 | | -Windows nightly builds from [here](https://eion.robbmob.com/libdiscord.dll) |
| 6 | +Windows nightly builds from [here](https://github.com/EionRobb/purple-discord/releases/latest) |
9 | 7 |
|
10 | 8 | The plugin requires libjson-glib which can be downloaded [from github](https://github.com/EionRobb/skype4pidgin/raw/master/skypeweb/libjson-glib-1.0.dll) and copied to the Program Files\Pidgin folder (not the plugins subfolder). |
11 | 9 |
|
12 | 10 | Linux/BSD |
13 | 11 | --------- |
| 12 | +amd64 nightly builds from [here](https://github.com/EionRobb/purple-discord/releases/latest) |
14 | 13 |
|
15 | 14 | The plugin is [available](https://repology.org/project/purple-discord/versions) in the main repositories of many Linux and BSD distros. |
16 | 15 | Thanks to the maintainers of all these [packages](https://repology.org/project/purple-discord/packages). |
17 | 16 |
|
18 | | -Gentoo |
19 | | --------- |
| 17 | +Login issues? |
| 18 | +------------- |
| 19 | +If you've compiled with QR Code auth support (nightly builds include this), leaving the |
| 20 | +password field empty will show a QR Code that you can scan from the Discord |
| 21 | +mobile app to login. |
20 | 22 |
|
21 | | -Extract [purple-discord-9999.ebuild](https://github.com/EionRobb/purple-discord/files/994369/ebuild.zip) and copy it to `/usr/local/portage/x11-plugins/purple-discord` with folders created as necessary. |
| 23 | +If using spectrum2 or bitlbee: |
| 24 | +Discord doesn't like you trying to connect from remote IP addresses so |
| 25 | +you'll need to grab an auth token from your browsers local storage: |
22 | 26 |
|
23 | | -```bash |
24 | | - mkdir -p /usr/local/portage/x11-plugins/purple-discord |
25 | | - cp purple-discord-9999.ebuild /usr/local/portage/x11-plugins/purple-discord |
26 | | - cd /usr/local/portage/x11-plugins/purple-discord |
27 | | - ebuild purple-discord-9999.ebuild manifest |
28 | | - eix-update; eix-diff # only if eix is installed |
29 | | - emerge purple-discord |
30 | | -``` |
| 27 | +* Chrome: Developer Tools -> Application -> Local Storage -> https://discordapp.com -> token |
| 28 | +* Firefox: Web Developer -> Storage Inspector -> Local Storage -> https://discordapp.com -> token |
| 29 | + |
| 30 | +Bitlbee users can then set the token with `acc eionrobb-discord set token ......`. |
| 31 | + |
| 32 | +spectrum2 users will need to edit the accounts.xml file to add the token. `<setting name='token' type='string'>...</setting>` |
31 | 33 |
|
32 | | -Thank you to Penaz for this package. |
33 | 34 |
|
34 | | -Compiling |
35 | | ---------- |
36 | | -Requires devel headers/libs for libpurple and libjson-glib [libglib2.0-dev, libjson-glib-dev and libpurple-dev], [libnss3-dev and libqrencode-dev] (for QR Code authentication), as well as ImageMagick [imagemagick] (to build icons) and [gettext] (for translations). |
37 | | -```bash |
38 | | - git clone https://github.com/EionRobb/purple-discord.git |
39 | | - cd purple-discord |
40 | | - make |
41 | | - sudo make install |
42 | | -``` |
43 | 35 |
|
44 | 36 | Slash Commands |
45 | 37 | -------------- |
@@ -132,22 +124,13 @@ To mention a user in a chat room, you can either use tab-completion at the |
132 | 124 | start of the message, or prefix their username with an @ eg, |
133 | 125 | `SeriousEion: i am mentioning @SeriousEion` |
134 | 126 |
|
135 | | -Bitlbee and spectrum2 users |
136 | | ---------------------------- |
137 | | -Discord doesn't like you trying to connect from remote IP addresses so |
138 | | -you'll need to grab an auth token from your browsers local storage: |
139 | | - |
140 | | -* Chrome: Developer Tools -> Application -> Local Storage -> https://discordapp.com -> token |
141 | | -* Firefox: Web Developer -> Storage Inspector -> Local Storage -> https://discordapp.com -> token |
142 | | - |
143 | | -Bitlbee users can then set the token with `acc eionrobb-discord set token ......`. |
144 | | - |
145 | | -spectrum2 users will need to edit the accounts.xml file to add the token. `<setting name='token' type='string'>...</setting>` |
146 | | - |
147 | | -Alternatively, if you've compiled with QR Code auth support, leaving the |
148 | | -password field empty will show a QR Code that you can scan from the Discord |
149 | | -mobile app to login. |
150 | 127 |
|
151 | | -Show your appreciation |
152 | | ----------------------- |
153 | | -Did this plugin make your life happier? [Send me $1](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PZMBF2QVF69GA) to say thanks! |
| 128 | +Compiling |
| 129 | +--------- |
| 130 | +Requires devel headers/libs for libpurple and libjson-glib [libglib2.0-dev, libjson-glib-dev and libpurple-dev], [libnss3-dev and libqrencode-dev] (for QR Code authentication), as well as ImageMagick [imagemagick] (to build icons) and [gettext] (for translations). |
| 131 | +```bash |
| 132 | + git clone https://github.com/EionRobb/purple-discord.git |
| 133 | + cd purple-discord |
| 134 | + make |
| 135 | + sudo make install |
| 136 | +``` |
0 commit comments