Now there's a tool for doing exactly this, with a nice interface and all: TerrariaDepotDownloader
The old guide is still here, if you want to do it manually. But I'd suggest taking a look at that tool first.
[ 660.416] (II) config/udev: Adding input device Wireless Controller Motion Sensors (/dev/input/js1) | |
[ 660.416] (II) No input driver specified, ignoring this device. | |
[ 660.416] (II) This device may have been added with another device file. | |
[ 660.420] (II) config/udev: Adding input device Wireless Controller Touchpad (/dev/input/mouse2) | |
[ 660.420] (**) Wireless Controller Touchpad: Applying InputClass "touchpad" | |
[ 660.420] (II) Using input driver 'libinput' for 'Wireless Controller Touchpad' | |
[ 660.420] (**) Wireless Controller Touchpad: always reports core events | |
[ 660.420] (**) Option "Device" "/dev/input/mouse2" | |
[ 660.420] (**) Option "_source" "server/udev" | |
[ 660.476] (II) mouse2 - not using input device '/dev/input/mouse2'. |
Now there's a tool for doing exactly this, with a nice interface and all: TerrariaDepotDownloader
The old guide is still here, if you want to do it manually. But I'd suggest taking a look at that tool first.
import logging | |
from discord_webhook import DiscordWebhook, DiscordEmbed | |
import config | |
class DiscordHandler(logging.Handler): | |
""" | |
Custom handler to send logs to Discord |