devvit
devvit copied to clipboard
Reddit for Developers
It would be useful to have the ability to set subreddit settings (and the type and other info that we can currently get but not set).
Some subreddits, like /r/drugs, have an interstitial warning that includes a content advisory and helpline details. This causes getSubredditByName to fail when trying to retrieve the subreddit details e.g. ```ts...
Right now, the only options for menu item visibility is via `forUserType` and the options are relatively limiting. I would ideally like an option for `forUserType: "postAuthor"` to be available...
Right now, the only options for menu item visibility is via `forUserType` and the options are relatively limiting. I would like the ability to write code that returns a boolean...
PRAW provides a way to retrieve a listing of posts that are from a specific domain - [see here](https://praw.readthedocs.io/en/stable/code_overview/other/domainlisting.html#praw.models.DomainListing). This is also possible via Reddit itself - the equivalent would...
## Info If a given key does not exist, `hgetall` returns an empty object rather than `undefined` as the typehint suggests. https://github.com/reddit/devvit/blob/fb29ce4fb63b82bc0d8b91f9a6c0c76688d6ae02/packages/public-api/src/types/redis.ts#L511 This object unfortunately evaluates as truthy and therefore...
unhandled error if you uninstall an app while watching its logs in the console: ``` /home/Yay295/.bun/install/global/node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js:13 throw err; ^ CLIError: error while fetching logs: Error: gRPC-web code 5 (NotFound); unable...
Currently apps can send modmails and create Mod Discussions, but they can't create mod Notifications.
## Info App configuration fields of type `number` only allow inputting numeric values. However, if the user clears the field and clicks submit, Devvit silently sets the value to `0`...