Discord bot connectivity

This commit is contained in:
ChocoTaco1 2020-11-27 00:27:57 -05:00
parent 0b693d236b
commit b386e32f5d
2 changed files with 286 additions and 0 deletions

View file

@ -716,6 +716,10 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
}
Game.recalcScore(%sourceObject.client);
//Code for DarkTigers discordBot
if(discord.lastState $= "Connected")
discordBotProcess("lakMApoints", %sourceObject, %points, %hitType, %weapon, %distance, %vel);
}
// borlak -- make a sound when you hit someone