Add a start_dm option to SimpleMenu #6282
Labels
Category: Core - API - Utils Package
This is related to stuff in `redbot.core.utils`
Good First Issue
Good for beginners to the project.
Status: In Progress
There's a PR open to deal with this, or an org member is working on this internally
Type: Enhancement
Something meant to enhance existing Red features.
In order to support
[p]help
with a button menu in DMs,SimpleMenu
needs to be able to be sent as a DM to a particular user [Ref]. The currentSimpleMenu.start
method accepts aContext
object, which is incompatible with this behavior.SimpleMenu
should be given a new method.start_dm(user: discord.User)
, which sends the menu as a direct message to that user.Developer note:
SimpleMenu
currently storesself.ctx
in.start
, however it does not appear to ever be used. The other two attributes set by.start
(message
andauthor
) will be possible to set in this method.Unblocks #5375
The text was updated successfully, but these errors were encountered: