wowthecoder / dank-memer-button-update-autotyper

A macro script to automatically grind Dank Memer written in Python. This script is compatible with the 31 July 2021 button update!!
13 stars 9 forks source link

How to run on Ubuntu VPS? #8

Open MoZyo opened 2 years ago

MoZyo commented 2 years ago

I recently got a VPS for this but I encountered an error.

dank@vps-9a0d7943:/home/ubuntu/dank/alt-3$ python discord_auto_typer[updated].py
  File "discord_auto_typer[updated].py", line 58
    connection.request("POST", f"/api/v9/channels/{channel_id}/messages", json.dumps(message_data), header_data)
                                                                       ^
SyntaxError: invalid syntax
Notsalgia commented 2 years ago

I think that error would be there even if its not on a vps since its a syntax error so I don't think the vps is the problem.

weedgirl68 commented 2 years ago

Are you using python2 with python? Use python3 if python is python2.