mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: return-based interaction reply edits
This commit is contained in:
1 parent
fbcd9e82e3
commit
4d9dc067af
19 files changed
+249
-306
No files matched your search
@@ -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');
|
||||
});
|
||||
Reference in new issue
Block a user