feat: return-based interaction reply edits

This commit is contained in:
TresAbhi committed 2023-06-16 02:01:06 +00:00
1 parent fbcd9e82e3
commit 4d9dc067af
19 files changed
+249 -306

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
export interface PSAData {
title: string;
description: string;
}
export interface PSA {
data?: PSAData;
}
export const psa: PSA = {};
console.log('Caching PSA...');
fetch(
'https://gist.githubusercontent.com/tresabhi/ed4b136f08856e615212e573aabe1968/raw',
).then((response) => {
response.json().then((data) => {
psa.data = data as PSAData;
});
console.log('PSA cached');
});