Skip to main content

Channel functions

  • {channelId}: Returns the ID of the current channel

    • Arguments:
      • name = ""
    • Example result: 1
  • {channelName}: Returns the name of the given channel

    • Arguments:
      • channel = message.channel.id
    • Example result: test
  • {channelType}: Displays the internal channel type ID

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {channelTypeText}: Displays the human-friendly version of the channel type

    • Arguments:
      • channel = message.channel.id
    • Example result: DM
  • {channelCreated}: Returns the timestamp when a channel was created

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {channelTopic}: Returns the channel topic

    • Arguments:
      • channel = message.channel.id
    • Example result: test
  • {channelPosition}: Returns the relative channel position

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {channelParentId}: Returns the ID of the parent channel (category or channel for threads)

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {channelCategoryId}: Returns the ID of the parent category, regardless of the current channel being a thread or not

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {channelParentName}: Returns the name of the parent channel

    • Arguments:
      • channel = message.channel.id
    • Example result: test
  • {channelSlowmode}: Returns the slowmode in seconds of the given channel

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {channelBitrate}: Returns the bitrate of the given channel

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {channelUserLimit}: Returns the user limit of the given channel

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {channelNSFW}: Checks if the given channel is marked as NSFW (Not Safe For Work, 18+ channel) or not

    • Arguments:
      • channel = message.channel.id
    • Example result: false
  • {channelThread}: Returns whether the given channel is a public or private thread or not

    • Arguments:
      • channel = message.channel.id
    • Example result: true
  • {channelThreadCount}: Returns the amount of active threads in the given channel

    • Arguments:
      • channel = message.channel.id
    • Example result: 1
  • {createThread}: Creates a thread in the given channel. Returns its ID.

    • Arguments:
      • name = "TomatenKuchen Thread"
      • parentId = message.channel.id
      • isPrivate = "false"
    • Example result: 1
      • Using input: {createThread}
  • {createPost}: Creates a post in the given forum or media channel. Returns its ID.

    • Arguments:
      • msgContent = "Hello world from a post!"
      • name = "TomatenKuchen Post"
      • parentId = message.channel.id
      • postTags = ""
    • Example result: 1
      • Using input: {createPost}
  • {setPostTags}: Sets the given tags on a forum post

    • Arguments:
      • tags = ""
      • post = message.channel.id
    • Example result: <empty>
  • {addPostTags}: Adds the given tags to a forum post

    • Arguments:
      • tags = ""
      • post = message.channel.id
    • Example result: <empty>
  • {removePostTags}: Removes the given tags from a forum post

    • Arguments:
      • tags = ""
      • post = message.channel.id
    • Example result: <empty>