Send edit button to beta dashboard
This commit is contained in:
parent
0bf578357a
commit
52cf642455
@ -773,7 +773,7 @@ async fn create_reminder(
|
|||||||
b.emoji(ReactionType::Unicode("📝".to_string()))
|
b.emoji(ReactionType::Unicode("📝".to_string()))
|
||||||
.label("Edit")
|
.label("Edit")
|
||||||
.style(ButtonStyle::Link)
|
.style(ButtonStyle::Link)
|
||||||
.url("https://reminder-bot.com/dashboard")
|
.url("https://beta.reminder-bot.com/dashboard")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
let _reminderErrors = [];
|
|
||||||
|
|
||||||
const reminderErrors = () => {
|
|
||||||
return _reminderErrors;
|
|
||||||
}
|
|
||||||
|
|
||||||
const guildId = () => {
|
|
||||||
let selected: HTMLElement = document.querySelector(".guildList a.is-active");
|
|
||||||
return selected.dataset["guild"];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function loadErrors() {
|
|
||||||
fetch(`/dashboard/api/guild/${guildId()}/errors`).then(response => response.json())
|
|
||||||
}
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
|
||||||
|
|
||||||
})
|
|
Loading…
Reference in New Issue
Block a user