adding sleep

This is done so that the bot doesn't query the db twice at the same time (logging and notes). It offsets the query time by just a tad bit so all is good :)