Skip to main content

Module dms

Module dms 

Source
Expand description

Direct-message channels with members (capability dms, specification §8.15). The member decides: FORBIDDEN (dms_closed) when they turned DMs from bots off or closed this one.

Functions§

close
dm.close: hides it from the bot’s list.
list_open
dm.list: the DMs the bot has open.
open
dm.open: the DM with member-id, created when there is none.

Type Aliases§

Channel
HostError
Id