Skip to content

ns-cpp/Rust-Server-Discord-Presence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Discord Rich Presence With Python

Advertise your rust game server on your discord servers

N|Solid

Small idea software made using Pypresence

­

Module Adress
PyPresence https://pypi.org/project/pypresence/
BeautifulSoup https://pypi.org/project/beautifulsoup4/
Requests https://pypi.org/project/requests/

How does it look

Build Status

  • 1948Rust ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­/ Any name you want
  • TR EU 1948Rust x3 | 8... / Server name obtained using BeautifulSoup module
  • Online 2/150 ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­/ Server player count obtained using BeautifulSoup module
  • Discord ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­/ Clicking it will redirect it to the discord server.
  • Oyna (Play)­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­/ From steam the game opens and enters the server

­

You can convert it to an .exe file and make it a program that opens when your computer boots.

Installation

require Python 3+ to run.

pip install Pypresence
pip install Requests
pip install bs4

Note: i used Try, except due to possible connection error