Skip to content

Natives (DM)

toketwo edited this page Feb 9, 2024 · 1 revision

HomeNativesDMs

  • Parameters:
    • channelid: The channel ID to send the message to, in string format.
    • userid[]: The DiscordUser, not a guild member the message came from. (String, 16-18 digit Discord-type ID)
    • msg[]: The message, in string format, to send in the channel.
  • Returns:
    • Always 1.

  • Parameters:
    • channelid: The channel id where the message should be deleted in.
    • messageid: The ID of the message that should be deleted.
    • reason[]: The reason for the deletion.
  • Returns:
    • 1 on success, 0 on failure.

  • Parameters:
    • channelid[]: The channel id where the reaction should be send to.
    • messageid[]: The ID of the message to react to.
    • reaaction[]: The :reaction: string. (Emoji as text)
  • Returns:
    • 1 on success, 0 on failure.

💡 If you don't know how, just typing a emoji in discord-chat bar and copying it -> pasting it inside the script gives you all the codes fast.


  • Parameters:
    • channelid[]: The channel id where the reaction should be deleed from.
    • messageid[]: The ID of the message to delete the reaction from.
    • reaaction[]: The :reaction: string (Emoji as text) that should be removed.
  • Returns:
    • 1 on success, 0 on failure.