We are interested in the problem of classifying commuting and foraging behaviour of bats at delimited geographical areas, namely sites, throughout France. To predict the majority behaviour on these sites, we use echolocation call data recorded as part of Vigie-Chiro participatory project. As the temporal distribution of calls is a relevant indicator of behaviour, providing an adequate model of this distribution is a matter of great interest. Given the self-exciting dynamics observed in foraging behaviour, we propose to model bat calls by Hawkes processes. Specifically, we consider that the start time of each call emitted on a site is an event of a Hawkes process. Taking advantage of this modelling, we use a suitable procedure that relies on the empirical risk minimization principle to discriminate between the 2 classes. Then, the performance of the procedure is assessed on synthetic data through comprehensive numerical experiments. The overall methodology is evaluated with a goodness-of-fit test. Finally, we present the obtained results on the real data set. The classification results are convincing and show the relevance of our method, which could contribute to a better understanding of behavioural determinants and open up broad perspectives in spatial ecology.