CinematicGenius007

Results 3 comments of CinematicGenius007

![Screenshot (733)](https://user-images.githubusercontent.com/75163638/149734540-26d47301-18bf-41f1-84dc-430a61653201.png)

Inside in the __init__ function of COG class `self.bot.coc.add_events(self.on_war_state_change)` and the function `@coc.WarEvents.state()` `async def on_war_state_change(self, prev_war, new_war: coc.ClanWar):` ` print(new_war.state)` The function was just for checking it, but it...

> Inside in the **init** function of COG class `self.bot.coc.add_events(self.on_war_state_change)` > > and the function `@coc.WarEvents.state()` `async def on_war_state_change(self, prev_war, new_war: coc.ClanWar):` ` print(new_war.state)` > > The function was just...