Discord bot for incoming attacks

migalvster

New Member
Reaction score
0
What bot can we add in Discord to receive info when a member of a tribe receives one attack? How it may be configured? Does it need some config on Tribalwars? Does the member need to grant the permission in TribalWars?
 

Flink

New Member
Reaction score
0
The way i see it, there is no API for incoming attacks.

So either a script incl. webhook would have to run all the time for each user, but this assumes that the user is always logged in.

Alternatively, it would also be possible to push the number of player incs via the webhook, for example in the tribal overview.
 

RedAlert

Senior In-Game Staff
Tribal Wars Team
Senior
Team
Script Moderator
Reaction score
623
Scripts or tools that listen to game events and notify the player somehow/somewhere are not legal.

Scripts can not listen to game events, such as receiving an attack for example.

Tools, can't get that info from outside the game since such info is not public and tools are only allowed to fetch the public data files.

So a Discord bot that automatically notifies a player/players on Discord whenever a new incoming is added is not okay.

There was in the past a method, utilizing the email notification that the game sent, however since then that email has been updated to include less information, so it could not be utilized for this.
 
Last edited:
Top