/setup
/task
onRun
Bot.sendMessage
and etc. Only GA code!Libs.GoogleApp.run()
in first time. You can have like such error:Error on Google App script: "Exception""The script does not have permission to perform that action. Required permissions: (https://www.googleapis.com/auth/calendar || https://www.googleapis.com/auth/calendar.readonly || https://www.google.com/calendar/feeds)"
appsscript.json
file.oauthScopes
. If it's not present, you can add it.oauthScopes
field specifies an array of strings. To set the scopes your project uses, replace the contents of this array with the scopes you want it to use. For example:Libs.GoogleAppLib.run
in first time. Then: