Clembot

Clembot is a character appearing in Pokémon the Series: XY.

Season 17: XY
Clembot is a robot built by Clemont to run the Gym for him. However, due to a malfunction, his programming was very strict, only allowing Trainers with four badges in the gym. Since Clemont had no badges, he kicked out Clemont and Bonnie.

Season 19: XYZ
Clembot went to the Kalos League stadium with some delicious Lumiose galettes with Meyer, to celebrate Ash's victory over Sawyer. He was also seen listening to the radio with Meyer during the finals between Ash and Alain. Clembot saw the mysterious plants sprouting from Prism Tower, which were coming from Z-2. Clembot saved Clemont from getting attacked by Z-2's plants and fought with Clemont, Meyer and Professor Sycamore against Aliana and Bryony, who were guarding Lumiose Gym. After accessing the keycode and defeating Xerosic, Clembot told Clemont to press the deactivation button to free Z-2, even it would cost him his life and he told that he was happy to work with Clemon and grow up with him. Clemont, at first, hesitated, but finally pressed it, thus freeing Z-2 and deactivating Clembot.

As of now, Clembot is still being repaired by Clemont.

Trivia

 * Clemont having a robot as a referee is similar to Volkner, who also has a bot for a referee.