back off on requested permissions

This commit is contained in:
Morgan McMillian 2017-07-28 14:34:46 -07:00
parent 836ae979cb
commit 632f957bd7

2
bot.py
View file

@ -85,7 +85,7 @@ class MonkeyBot:
def _help(self): def _help(self):
reply = "Visit the following URL to authorize pnut-matrix with your account on pnut.io.\n\n" reply = "Visit the following URL to authorize pnut-matrix with your account on pnut.io.\n\n"
reply += "https://pnut.io/oauth/authenticate?client_id=6SeCRCpCZkmZOKFLFGWbcdAeq2fX1M5t&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=stream,write_post,follow,update_profile,presence,messages&response_type=token\n\n" reply += "https://pnut.io/oauth/authenticate?client_id=6SeCRCpCZkmZOKFLFGWbcdAeq2fX1M5t&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=write_post,presence,messages&response_type=token\n\n"
reply += "The following commands are available.\n\n" reply += "The following commands are available.\n\n"
reply += "set_access_token <token>\n" reply += "set_access_token <token>\n"
reply += " - Set your access token for matrix -> pnut.io account puppeting\n\n" reply += " - Set your access token for matrix -> pnut.io account puppeting\n\n"