function chatroulette:on_new_message(message, _, language)
if message.chat.type ~= 'private' or message.command or (message.is_media and not message.text) then -- we only want to process non-command, text messages in private chat
return false
end
local output
local other_user = redis:get('chatroulette:' .. message.from.id)
if not other_user then
return false
elseif message.text:len() > chatroulette.limit then -- we'll set a message length limit to stop a wall of text to the other user