courgette/big-brother-bot — Issue #21: make message() send message to player's squad
Author: courgette
Created: 2011-10-26 22:53:22+00:00
State: open
Labels: todo

while waiting for DICE move regarding the private message issue, the `message()` method as been made an alias of the `say() ` method. Hence it spam the whole server.

We can lower the noise by having the `message()` method send the message to the squad the targeted player is in.

## Implementation guideline

1. find players team id and squad id
1. if team/squad known, then send the message using `admin.say squad `
1. else fallback on calling `say()`

### Important note

* `Team ID` is not the B3 team number but the identifier used in Frostbite. This can be found on the client object in the `Client.teamId` property (can be `None` if unknown)
* `Squad ID` can be found on the client object in the `Client.squadId` property (can be `None` if unknown)