devvit
devvit copied to clipboard
Reddit for Developers
### Details Example gist: by: lex appears to be taking the input as-is and prepending a [ to start/end unless the value is one of the special values - or...
> Xenc: Changing the icon stopped the flickering (only seems to appear on that very specific planet icon)
The `PostDelete` event contains a source property of the type `EventSource`. It's exported and available to import from `@devvit/protos`, but the runtime doesn't seem to match that. The following code...
### Details Add language preference capabilities & dynamic README.mds on app details page ### Additional info **Discord message:** _It’d also be great if it was possible to target different README...
### Details **Discord message:** _It would be really nice if we could mark an install-scoped setting as a secret. Ideally it would just be like a password field, once a...
Create a blur over block contents with a spoiler prop for blocks
Hey, I am trying to comment like so: ``` const reply = await context.reddit.submitComment({ id: targetId, richtext: new RichTextBuilder().animatedImage({mediaId:response.mediaId}), runAs:"USER" }) ``` But this gives me the following error: ```...
When using Phone Link on Windows, which projects Android apps from a linked Android device, Reddit does not have gesture input. Mouse scroll wheel will scroll through the app's listings,...
https://github.com/reddit/devvit/blob/c4195e11f81f291c182e9408d75be9f7b1a3e601/packages/cli/src/util/Cutter.ts#L38-L38 fix the issue the shell command should avoid dynamic string construction and instead use a safer method to execute the script. The `child_process.execFile` method is a better alternative because...