kairusds / eidolonrp

display a custom rich presence on your discord account with android support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DISCONTINUED. Discord has removed rich presence support for self-bots.

eidolonrp CodeFactor

A simple rich presence changer built with discord.py

Python 3.6+ is required to run this script.

Table of Contents

Preview

mobile desktop

Where do I get the rich presence image IDs?

You can get these by right-clicking an asset image's icon and copying the URL in the Rich Presence > Art Assets section on the Discord Developer Portal.

The URL should be something like this https://cdn.discordapp.com/app-assets/632447779013458728/655561063797872711.png[1]

The first 18-digit string should be the app's ID 632447779013458728, while the second 18-digit string 655561063797872711, is the image's ID and it is what you need to input in the config.

* [1] The 18-digit numbers are only an example and is generated with random.org

Video soon.

config.ini

[user]
token = user account token

[assets]
largeimage = large image filename
largetext = large image text tip
smallimage = small image filename
smalltext = small image text tip

[party]
# yes or no
enabled = yes
size = 2
maxsize = 2

[activity]
appid = your client id
name = header text
state = third line
details = second line
# 0: playing, 1: streaming, 2: listening, 3: watching, 4: custom, 5: competing
type = 0
# change this if you're using streaming activity (experimental)
# don't use an invalid url
url = https://twitch.tv/username
# can only be online, idle or dnd to make the rich presence work
status = online

Termux instructions

  1. Download Termux from F-Droid (you can also download from the play store but that's outdated) Optional: download hacker keyboard from playstore so that moving is easier, though, vim has touch support so only use hacker keyboard if you are going to use nano instead
  2. Launch Termux and do pkg upgrade && pkg install python git vim
  3. Do git clone https://github.com/kairusds/eidolonrp to download this
  4. Then do cd eidolonrp && pip install -r requirements.txt
  5. Then edit the config file with vim confing.ini or if you are going to use hacker keyboard, nano index.py. Replace the text with your input as suggested in config.ini.
  6. Finally, run the script with python index.py To exit, do CRTL+C or simply exit Termux

About

display a custom rich presence on your discord account with android support

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%