Add discord init func
This commit is contained in:
@@ -8,6 +8,13 @@
|
|||||||
// TYPE: Server (JavaScript)
|
// TYPE: Server (JavaScript)
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
|
function initDiscordScript() {
|
||||||
|
logToConsole(LOG_INFO, "[Asshat.Discord]: Initializing discord script ...");
|
||||||
|
logToConsole(LOG_INFO, "[Asshat.Discord]: Discord script initialized successfully!");
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===========================================================================
|
||||||
|
|
||||||
/*
|
/*
|
||||||
addEventHandler("OnDiscordCommand", function(command, params, discordUser) {
|
addEventHandler("OnDiscordCommand", function(command, params, discordUser) {
|
||||||
let commandData = getCommand(command);
|
let commandData = getCommand(command);
|
||||||
|
|||||||
Reference in New Issue
Block a user