Discord Bot

Invite - Prefix : #

The bot will automatically alert the Guild Owner if a new joining Guild Member is banned

( Requires BAN scope on calling Member & WRITING Scope API )

-> #crtBan discord_id twitter_id (optional) reason...

( Requires nothing & can be called by everyone )

-> #verify discord_id

API Documentation

[ GET Arg ]

discord_id BIGINT

$.ajax({ url: "https://www.snkrep.com/api/verify?[ARG]",
type: "GET",
beforeSend: function(xhr){
xhr.setRequestHeader('apiKey', 'test-value');
xhr.setRequestHeader('apiSecretKey', 'test-value');
xhr.setRequestHeader('apiAccessToken', 'test-value');
xhr.setRequestHeader('accessTokenSecret', 'test-value');
}
});

[ POST Arg ]

discord_id BIGINT

reason TEXT

twitter_id BIGINT (optional)

banned_by BIGINT (optional)

is_test BOOLEAN (optional)

$.ajax({
url: "https://www.snkrep.com/api/createBan?[ARGS]",
type: "POST",
beforeSend: function(xhr){
xhr.setRequestHeader('apiKey', 'test-value');
xhr.setRequestHeader('apiSecretKey', 'test-value');
xhr.setRequestHeader('apiAccessToken', 'test-value');
xhr.setRequestHeader('accessTokenSecret', 'test-value');
}
});

[ DELETE Arg ]

discord_id BIGINT

$.ajax({
url: "https://www.snkrep.com/api/removeBan?[ARGS]",
type: "DELETE",
beforeSend: function(xhr){
xhr.setRequestHeader('apiKey', 'test-value');
xhr.setRequestHeader('apiSecretKey', 'test-value');
xhr.setRequestHeader('apiAccessToken', 'test-value');
xhr.setRequestHeader('accessTokenSecret', 'test-value');
}
});