Discord explicitly disallows third-party clients, and will outright ban you if it detects API usage that obviously originates from self-bots (eg. posting embeds as a regular user). The ripcord ban might be a temporary ban more reliant on heuristics intended to prevent nitro scams like this one[0] where it performs no out-of-the-ordinary API calls but still purchases a bunch of Nitro gifts.
0: https://support.discord.com/hc/en-us/community/posts/3600683...