event async def on_error ( self, event_method, * args, ** kwargs ): # Print out a message indicating there was an error. You’ll need to copy the key and save it somewhere. Navigate to your Pushbullet Settings and click on Create Access Token. This is actually a really simple process. Then, you’ll need to get your API Key from Pushbullet. Requirementsįirst, install the Python module Pushbullet.py. In this quick tip, I’ll walk you through how I added Pushbullet notifications that notify me of the error, traceback, and timestamp. I always knew Pushbullet had an API, but I’d never put two and two together to successfully make a notification system every time my Discord bot, Rikka, gets an error or restarts. It allows you to send and receive SMS messages from any android device within just about any internet-connected device, allows you to sync Android notifications with chrome or Windows, and even lets you easily transfer files to and from your phone and computer. Pushbullet has always been a service essential to my tech life. Pushbullet is an essential app for Android and iOS power users. How to Monitor Your Program’s Status with Pushbullet
0 Comments
Leave a Reply. |