Hexagrid-RPG-bot-v2 For memory profiling: Add @profile in discord/client.py method definition (on a method that is about to be profiled) Run the script with python -m memory_profiler <script> - a memory report on a method will print after process exit