This is some code of my very first bot It has some useful commands so I thought of sharing this here too, it may become outdated with time though.
- Deleting certain messages in a specific server function
- Baning words from your server function
- Adding a role if a user joins feature
- Logging when a user either joins or leaves your server feature
- Custom Bot status ( Game / Watching /Streaming )
- Score / Stats System
- Userinfo command
- Profanity filter
- Counting messages in each guild function