'Using Pypresences feature to send a join request

I've been attempting to make it so my rich presence (not connected to a game in any way) actually has a request to join feature.

Here is my code right now:

from pypresence import Presence
import time

client_id = "id"  
RPC = Presence(client_id)  

RPC.connect()
RPC.update(state="test state", start=time.time(), details="plz dont dm", large_image="pfp", small_image="dnd", large_text="This is my pfp", small_text="This is my current state", join="idk if i should hide this or not ")
while True:
    time.sleep(15)

On discord the button actually shows up but when pressed by a user it does nothing and when i try and send an invite it just gives me the clyde message that you are not friend with the user(???)

This image is actually in a server

Just so you know the reason I'm doing this is so people could get my attention just by pressing the button (it is for a server) as I believe a popup shows up in the corner of the screen when it is pressed.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source