forked from HelloWorld017/atom-discord
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed all strings Updated readme and FAQ changed default Discord AppId
- Loading branch information
Showing
30 changed files
with
186 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,125 +1,61 @@ | ||
[![Discord](https://s33.postimg.cc/savzs5uhb/atom-banner.png)](http://discord.gg/zfEs3K6) | ||
|
||
<p align="center"> | ||
<b><a href="https://github.com/HelloWorld017/atom-discord">Atom-Discord</a></b> / <a href="https://github.com/HelloWorld017/atom-discord/blob/master/faq.md">FAQ</a> | ||
<b><a href="https://github.com/mzivic7/pulsar-discord">Pulsar-Discord</a></b> / <a href="https://github.com/mzivic7/pulsar-discord/blob/main/faq.md">FAQ</a> | ||
</p> | ||
|
||
--- | ||
|
||
# FAQ | ||
|
||
* [Custom Playing Status](#playing-status) | ||
* [Getting File Icons](#getting-file-icons) | ||
|
||
--- | ||
|
||
# Known Errors | ||
|
||
* [There is no `apm` or `npm` command](#apm-npm-is-not-recognized) | ||
* [Doesn't show rich pressence](#not-showing) | ||
|
||
- [Custom Playing Status](#playing-status) | ||
- [Rich Presence Is Not Showing](#rich-presence-is-not-showing) | ||
- [Getting debug info](#getting-debug-info) | ||
|
||
---- | ||
|
||
# Playing Status | ||
## Changable Text | ||
## Changeable Text | ||
To change other texts like 'Editing a (name) file', follow this steps: | ||
|
||
1. **Open i18n file** | ||
Open file located in `(UserDirectory)/.atom/packages/atom-discord/i18n/(Currently Using Language).json` | ||
Open file located in `(UserDirectory)/.pulsar/packages/pulsar-discord/i18n/(Currently Using Language).json` | ||
|
||
2. **Change desired text** | ||
Change content of the json file in order to change your desired text. | ||
|
||
## "Playing Atom Editor" Text | ||
To change the "Playing Atom Editor" text you will need to make a new [discord developer application](https://discordapp.com/developers/applications/me/create), you can do this by repeating the following steps: | ||
|
||
## "Playing Pulsar Editor" Text | ||
To change the "Playing Pulsar Editor" text you will need to make a new [discord developer application](https://discordapp.com/developers/applications/), you can do this by repeating the following steps: | ||
|
||
1. **Create a new discord developer application.** | ||
Click [Here](https://discordapp.com/developers/applications/me) and create a new application. | ||
1. **Create a new discord developer application** | ||
Click [Here](https://discordapp.com/developers/applications/) and create a new application. | ||
|
||
2. **Set your app name and turn on rich presence.** | ||
![Set App Name](https://i.imgur.com/2iSR7Q3.png) | ||
![Turn on Rich Presence](https://i.imgur.com/GydIB7q.png) | ||
> Make sure to click `Create App` first or you won't see the `Enable Rich Presence` button! | ||
2. **Set your app name and turn on rich presence** | ||
Your app name will later be displayed as `Playing <app-name>`. | ||
|
||
3. **Set Client ID to your application.** | ||
Copy your `Client ID` (found here) | ||
![Copy](https://i.imgur.com/vVw7XjC.png) | ||
3. **Set Client ID to your application** | ||
Copy your `Application ID`. | ||
And in pulsar-discord package settings change `Settings > Behaviour > Custom Client ID` into your Application ID. | ||
|
||
And change `Settings > Behaviour > Custom Client ID` into your Client ID. | ||
4. **Upload icons assets** | ||
Download all of the programming languages icons ([available here](https://github.com/HelloWorld017/fileicons-render/tree/main/icons)) and upload them all under Rich Presence > Rich Presence Assets (if you miss one it won't work!). The asset name should be filename of the image (without the `.png`!). | ||
|
||
> Now your playing status will have changed, but the icon's wont work unless you do the following. | ||
4. **Upload large assets.** | ||
Download all of the programming languages icons ([available here](https://github.com/HelloWorld017/fileicons-render/tree/master/icons)) and upload them all as large assets (if you miss one it won't work!). The asset name should be filename of the image (without the `.png`!) and the size should be on Large or it wont work! | ||
Example: | ||
![Uploading](https://i.imgur.com/Jqw3Jqu.png) | ||
|
||
5. **Upload small assets.** | ||
Now you can upload the small assets, you can choose not to do this however it is up to you! | ||
If you choose to upload them you will need to upload a small asset for all 5 types of the logo. | ||
|
||
![SmallAsset](https://i.imgur.com/iOToNbC.png) | ||
|
||
Names: | ||
* atom-original | ||
* atom | ||
* atom-2 | ||
* atom-3 | ||
* atom-5 | ||
|
||
> :tada: There, your done! Now you have a custom playing status, congratulations! | ||
5. **Upload custom image assets** | ||
Now, under same assets, upload the custom image that will replace original Pulsar icon. Imust have asset name `pulsar`. | ||
|
||
--- | ||
|
||
# Getting File Icons | ||
* You can get images from [fileicons-render](https://github.com/HelloWorld017/fileicons-render) | ||
# Rich Presence is not showing | ||
- Check if the Pulsar is added in the games tab. | ||
- Check if the option `Display currently running game as a status message.` is turned on in Discord. | ||
- Restart the Pulsar and Discord. | ||
- Try installing from the source code: | ||
|
||
--- | ||
Open the terminal and type the following: `pulsar -p uninstall pulsar-discord` | ||
|
||
# apm, npm is not recognized | ||
If you recieve the following error when installing atom-discord do the following: | ||
``` | ||
'apm (or npm)' is not recognized as an internal or external command, | ||
operable program or batch file. | ||
``` | ||
|
||
Find your Atom Install Directory usually located at (`%appdata%/../Local/atom/YOUR-VERSION/resources/app/apm/bin/apm.cmd`).and instead of running the apm command, link the full directory instead! | ||
|
||
Example: | ||
``` | ||
C:\Users\USERNAME\AppData\Local\atom\app-1.28.0\resources\app\apm\bin\apm.cmd install atom-discord | ||
C:\Users\USERNAME\AppData\Local\atom\app-1.28.0\resources\app\apm\bin\npm.cmd install | ||
``` | ||
|
||
You can execute the command by changing 'apm' to whole path of apm.cmd, 'npm' to path of npm.cmd | ||
Then, [reinstall pulsar-discord from the source code](https://github.com/mzivic7/pulsar-discord#installing-from-source-code) and restart Pulsar and discord. | ||
|
||
--- | ||
|
||
# Not Showing | ||
If you rich presence isn't showing in discord, make sure you have got Atom-Editor added as a program, and if that doesnt work try [installing from the source code](https://github.com/HelloWorld017/atom-discord#installing-from-source-code), and if that doesn't work, try the following: | ||
|
||
Open the terminal by using `Ctrl + R` and type the following: | ||
|
||
``` | ||
apm uninstall atom-discord | ||
``` | ||
|
||
Then, [reinstall atom-discord from the source code](https://github.com/HelloWorld017/atom-discord#installing-from-source-code) | ||
|
||
|
||
And, if _that_ doesn't work, you can try quitting Atom via Task Manager or <kbd>cmd</kbd> + <kbd>q</kbd> | ||
|
||
## Notes for Ubuntu users | ||
There are a known bug that discord **installed from snap / software center** doesn't show rich presence. | ||
|
||
If you're using ubuntu, installed discord from snap and rich presence isn't showing, please check you've turned on the `Ubuntu 18.04 fix` option. | ||
After turning the option and restarting atom, and if the problem still exists, please follow these steps. | ||
|
||
* `sudo snap remove vscode discord` | ||
* download the .deb files from the official websites | ||
* install the .deb files using the `sudo dpkg -i package.dpkg` command | ||
* DO NOT USE UBUNTU SOFTWARE CENTER, AS IT USES SNAP. | ||
|
||
If you're still running into trouble, please ask for help in our [support server](https://discordapp.com/invite/zfEs3K6)! | ||
# Getting debug info | ||
- Turn on Debug Mode option in package settings | ||
- Restart Pulsar | ||
- Open file `(UserDirectory)/.pulsar/pulsar-discord/Log.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.