Closed 3x71us1v3 closed 2 years ago
As documented on the Guild page, the third argument of guild:banUser
, days
, must be between 0 and 7. Also, the best way to get help with your code is to join the Discord API or Discordia servers, rather than opening an issue on GitHub.
Oh, I see. Thank you :)
I don't know why this would be happening. Code:
local membertoban = message1.guild:getMember(grantId)
local ban = membertoban.guild:banUser(membertoban.user, "grant", 64)