Add "reason" argument to couple events

댓글

댓글 2개

  • SaltyPotato

    guildBanAdd is not a method, it's an event. You can add a reason to GuildMember.ban(). Also Discord can't help you with that. Discord.js is a separate library that isn't contributed to by any of the Discord staff. You can submit feedback to Discord.js in the Discord.js server (link on discord.js.org).

    0
    댓글 작업 고유 링크
  • Helmasaur

    Sorry for my vocabulary mistake. I won't forget that it's not a method but an event!

    I know that Discord.js is not maintained by Discord team but it is built above Discord API and if I am not saying wrong, the ban with a right click doesn't ask for a reason and the ban event doesn't use any reason variable.

    0
    댓글 작업 고유 링크

댓글을 남기려면 로그인하세요.