Skip to main content

Thread functions

  • {threadPrivate}: Checks if the given thread is private or not

    • Arguments:
      • channel = message.channel.id
    • Example result: true
  • {threadOwnerId}: Returns the user ID of the owner (creator) of the given thread

    • Arguments:
      • thread = message.channel.id
    • Example result: 1
  • {threadMemberCount}: Returns the amount of members that joined the thread

    • Arguments:
      • thread = message.channel.id
    • Example result: 1
  • {threadMessageCount}: Returns the approximate amount of messages in the given thread

    • Arguments:
      • thread = message.channel.id
    • Example result: 1
  • {threadArchivedAt}: Returns the timestamp when the given thread was archived

    • Arguments:
      • thread = message.channel.id
    • Example result: 1
  • {threadLocked}: Checks if the given thread is locked or not

    • Arguments:
      • channel = message.channel.id
    • Example result: true
  • {threadJoin}: Adds the given member to the given thread. If no member is specified, the bot will join the thread

    • Arguments:
      • channel = message.channel.id
      • member = bot.user.id
    • Example result: <empty>
      • Using input: {threadJoin}
      • Using input: {threadJoin;2}
  • {threadLeave}: Removes the given member from the given thread. If no member is specified, the bot will leave the thread

    • Arguments:
      • channel = message.channel.id
      • member = bot.user.id
    • Example result: <empty>
      • Using input: {threadLeave}
      • Using input: {threadLeave;2}