Back in 2015, I used Elixir to write a simple program called RndBot. It is an IRC bot and it provides positive random numbers as replies to messages containing the text “rndbotrnd”. Random numbers are obtained from random.org.

I recently updated a few things to ensure RndBot is working again without warnings. I noticed that String.strip and Kernel.to_char_list functions of Elixir have been deprecated (we can use String.trim and Kernel.to_charlist instead).