PreMid is not a client modification; instead, it is a program that uses the rich presence feature of Discord. This was stated on Twitter on the official Discord page. PreMid is not against the Discord Terms of Service.