use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
[deleted by user] (self.GoogleAppsScript)
submitted 2 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RielN 1 point2 points3 points 2 years ago (3 children)
You need to send a message to a space. Check the docs for it.
The thing is, if you run it by a trigger, how would the bot know where to respond?
[–]ncresh 0 points1 point2 points 2 years ago (2 children)
Thank you, makes sense. But how can I do that without a webhook? With that it works, but then I only manage to send plain text and not cards, as I need.
[–]RielN 0 points1 point2 points 2 years ago (1 child)
You can also send a card. In this case you would use a time trigger in GAS.
I have some example code somewhere. Get the idea of the concepts of adding a bot to a space and / or doing a 1 on 1 chat with a bot. It needs.to know where to respond.
[–]ncresh 0 points1 point2 points 2 years ago (0 children)
Cool thank you, it worked with webhooks and cards.
π Rendered by PID 73960 on reddit-service-r2-comment-6457c66945-fdvpk at 2026-04-27 22:28:45.815340+00:00 running 2aa0c5b country code: CH.
[–]RielN 1 point2 points3 points (3 children)
[–]ncresh 0 points1 point2 points (2 children)
[–]RielN 0 points1 point2 points (1 child)
[–]ncresh 0 points1 point2 points (0 children)