thomasleveil / b3-plugin-poweradminbf3

BigBrotherBot Poweradmin plugin for Battlefield 3
https://github.com/courgette/b3-plugin-poweradminbf3/wiki
4 stars 3 forks source link

!swap reports everything went fine even when failing #22

Closed thomasleveil closed 12 years ago

thomasleveil commented 12 years ago

Mariodu62 reported that the !swap command send a message saying that the swap occurred while it did failed.

The plugin should be able to detect the issue and give a correct feedback to the user that sent the !swap command.

log

111217 15:44:53 CONSOLE "['player.onChat', 'Mariodu62', '!swap ron kef']"
111217 15:44:53 WARNING "Poweradminbf3Plugin: Error, server replied ['SetTeamFailed']"
111217 15:44:53 WARNING "Poweradminbf3Plugin: Error, server replied ['SetTeamFailed']"
111217 15:44:53 DEBUG   "getCommand: ('admin.say', 'Bot_TB [pm] swapped player ronboubou with kefa08', 'squad', '1', '1')"
111217 15:44:53 CONSOLE "['player.onChat', 'Server', 'Bot_TB [pm] swapped player ronboubou with kefa08']"