adapted to changes in python-presence