Added support for Server Reminders

This commit is contained in:
ION606
2022-08-14 15:12:30 -07:00
parent adaf982273
commit 2f073c0eb2
5 changed files with 65 additions and 30 deletions
+5 -2
View File
@@ -230,9 +230,12 @@
xhrsess.onloadend = (e) => {
const sessionData = JSON.parse(xhrsess.response);
const userId = JSON.parse(sessionData.userId);
var userId = JSON.parse(sessionData.userId);
const delObjKeys = sessionStorage.getItem('delObjKeys');
if (sessionStorage.getItem('ref') == 'guild') {
userId = serverSettings.Id;
}
//Send the data to the server
var xhr = new XMLHttpRequest();
xhr.open('post', 'http://www.selmerbot.com/sendData/', true);