Writing modules¶ Minimal module¶ Explain required functions or classes, how to register commands and settings, and how to add views. Testing¶ Provide a pattern for unit tests and integration tests with a mock Discord client.