`await arg2.Interaction.RespondAsync("Command exception: {arg3.ErrorReason}");` would never have showed the `ErrorReason` because a `$` was missing before the string.
Instructions for Building Documentation
The documentation for the Discord.Net library uses DocFX. Instructions for installing this tool can be found here.
- Navigate to the root of the repository.
- Build the docs using
docfx docs/docfx.json. Add the--serveparameter to preview the site locally. Some elements of the page may appear incorrectly when hosted offline.
Please note that if you intend to target a specific version, ensure that you have the correct version checked out.