Export swipe_right in public/script.js and add swipe_right to getContext in st-context.js
| @@ -50,6 +50,7 @@ import { | ||
| 50 | 50 | unshallowCharacter, |
| 51 | 51 | deleteLastMessage, |
| 52 | 52 | getCharacterCardFields, |
| 53 | + swipe_right, | |
| 53 | 54 | } from '../script.js'; |
| 54 | 55 | import { |
| 55 | 56 | extension_settings, |
| @@ -196,6 +197,7 @@ export function getContext() { | ||
| 196 | 197 | humanizedDateTime, |
| 197 | 198 | updateMessageBlock, |
| 198 | 199 | appendMediaToMessage, |
| 200 | + swipe_right, | |
| 199 | 201 | variables: { |
| 200 | 202 | local: { |
| 201 | 203 | get: getLocalVariable, |