Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Using electric terrain does not prevent an opposing pokemon from using rest, and in fact immediately wakes them up when they use it rather than preventing them. Replay where it happened: http://replay.pokemonshowdown.com/ou-74348598