mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-17 03:45:25 +02:00
Backend support for discordio links and able to edit in admin panel
This commit is contained in:
@ -36,6 +36,17 @@ $("#mentions_limit").keyup(function(event){
|
||||
}
|
||||
});
|
||||
|
||||
$("#discordio").keyup(function(event){
|
||||
if(event.keyCode == 13){
|
||||
var pathname = window.location.pathname;
|
||||
var value = $("#discordio").val()
|
||||
var payload = {"discordio": value}
|
||||
$.post(pathname, payload, function(data) {
|
||||
Materialize.toast('Updated Discord.io setting!', 2000)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
function initiate_ban(guild_id, user_id) {
|
||||
var reason = prompt("Please enter your reason for ban");
|
||||
var payload = {
|
||||
|
Reference in New Issue
Block a user