Added start_dm(user) method to SimpleMenu in "Views.py".
This method allows for a direct message to be sent by the bot, which bypasses the usage of "ctx" as a parameter. This also unblocks issue #5375. My testing found the buttons do work in DMs following implementation of the new method.
Fixes #6282
Have the changes in this PR been tested?
Yes
I tested the method by making changes to "help.py" under the send_pages() method.
The image below shows the modified code in that file.
Description of the changes
Have the changes in this PR been tested?
Yes
I tested the method by making changes to "help.py" under the send_pages() method.
The image below shows the modified code in that file.
DM result