Adding roles from commands in DM

Discussion in 'General Support' started by RJTech, Jun 26, 2020.

  1. RJTech

    RJTech New Member

    Joined:
    Jun 26, 2020
    Messages:
    1
    Likes Received:
    0
    Currently, iv got a command "!verify" that opens a DM with the command author and sends them a message. I then set up a command where when run in the DM, It should add a role to them in the server along with sending them a message. When I tested the command in the DM, the message was sent, however, no roles where changed. I again tested the command in the server (didn't set any command restrictions) and everything worked as suspected. Any ideas about what I might have done wrong?
     
  2. NoahH

    NoahH Member

    Joined:
    Feb 23, 2020
    Messages:
    56
    Likes Received:
    4
    You need to add a Change Server action because a direct message channel is not in a specific server.
     

Share This Page