2023-08-19 18:24:06 +00:00
|
|
|
let _reminderErrors = [];
|
|
|
|
|
|
|
|
const reminderErrors = () => {
|
|
|
|
return _reminderErrors;
|
|
|
|
}
|
|
|
|
|
|
|
|
const guildId = () => {
|
2023-08-19 20:21:56 +00:00
|
|
|
let selected = document.querySelector(".guildList a.is-active");
|
2023-08-19 18:24:06 +00:00
|
|
|
return selected.dataset["guild"];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function loadErrors() {
|
|
|
|
fetch(`/dashboard/api/guild/${guildId()}/errors`).then(response => response.json())
|
|
|
|
}
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
|
|
|
|
})
|