mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-12 14:44:34 +00:00
Discord bot connectivity
This commit is contained in:
parent
0b693d236b
commit
b386e32f5d
2 changed files with 286 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue