How to get my bot to read the amount of members in a server

I’m trying to get my bot to have a command that basically responds with “this server has x amount of members!”, does anyone know what I could do? I’m still somewhat new to bot development, so it would be nice to have some advice <3

try this and let me know how it turns out. sadly i cannot access discord to test this.

1 Like