Added hook on chat event