Fix retrying logic
bot/tetra: Don't retry on a runtime error
bot/basehandlers: handle JOIN 0
Add sqlite dependency