Change Log

5.0.0 [BETA ONLY]

  • $isMentionable

  • $isHoisted

  • $formatDate

  • $playSong

  • $queueLength

  • $isValidHex

  • $memberJoinDate

  • $addButton

  • $addActionRow

  • $customID

  • $updateMessageInteraction

  • $clearComponents

  • $noMentionMessage

  • $randomString

  • $setChannelSlowmode

  • $serverBoostLevel

  • $creationDate

  • $setInterval

  • $serverBoostCount

  • $messageURL

  • $allRoleCount

  • $isUserDMEnabled

  • $skip

  • $queryMember

  • $defer

  • $songInfo

  • $isServerPartnered

  • $isServerAvailable

  • $isServerVerified

  • $isNaN

  • $encode

  • $readyTimestamp

  • $clientToken

  • $decode

  • $serverMaximumMembers

  • $serverMFALevel

  • $serverNSFWLevel

  • $deleteDM

  • $isTextChannel

  • $removeSpacing

  • $hasChannelPerms

  • $findNumbers

  • $removeNumbers

  • $removeLinks

  • $sendReply

  • $removeSpecialChars

  • $allChannelCount

  • $slashOption

  • $reply

  • $ephemeral

  • $volume

  • $sendCrosspostMessage

  • $ordinal

  • $botCount

  • $allBotCount

  • $getInviteInfo

  • $wait

  • $getChannelSlowmode

Changed:

  • $memberCount now has more fields to customize.

  • $argCount now supports brackets

Callbacks:

  • onMusicStart (event)

  • musicStartCommand (type)

  • onInteraction (event)

  • slashCommand (type)

  • buttonCommand (type)

  • onMusicEnd (event)

  • musicEndCommand (type)

4.0.0

New Functions:

  • $userRoleColor

  • $serverIcon

  • $deleteChannels

  • $toLocaleUppercase

  • $takeRoles

  • $giveRoles

  • $deleteRoles

  • $isNumber

  • $numberSeparator

  • $botOwnerID

  • $serverCount

  • $globalUserLeaderboard

  • $getGlobalUserVar

  • $resetGlobalUserVar

  • $deleteGlobalUserData

  • $setGlobalUserVar

  • $allEmojiCount

  • $emojiCount

  • $packageVersion

  • $argCount

  • $charCount

  • $reboot

  • $removeSplitTextElement

  • $randomText

  • $getRoleColor

  • $isBot

  • $rolePosition

  • $isBanned

  • $fetchGuildMembers

  • $commandInfo

  • $variableCount

  • $commandCount

  • $setRoles

  • $getAllGlobalUserVarIDs

  • $getMessage

  • $hasEmbed

  • $hasRole

  • $usersWithRole

  • $voiceID

  • $usersTyping

  • $usersInChannel

  • $userStatus

  • $messageExists

  • $userDevices

  • $messageExists

  • $channelNSFW

  • $mentionedEveryone

  • $exec

  • $exitProcess

  • $clientDestroy

  • $isPartial

  • $oldMessage

  • $mentioned(Roles/Channels)' brackets are now optional

  • $suppressEmbeds

  • $unsuppressEmbeds

  • $updateChannelPerms

  • $deleteChannelOverwrite

  • $deleteChannelOverwrites

  • $removeReaction

  • $removeAllReactions

  • $removeEmojiReactions

  • $isBoosting

  • $addTimestamp

  • $sliceSplitTextJoin

  • $listCommands

  • $uptime

  • $parseTime

  • $cpu

  • $ram

  • $createRole

  • $shardID

  • $map

  • $findChannel

  • $findServerChannel

  • $userReacted

  • $getUserReactions

  • $mentionType

  • $reactionCollector

  • $reactionEmoji

  • $reactionAuthorID

  • $replaceTextWithRegex

  • $userLastMessageID

  • $userLastMessageChannelID

  • $referenceMessageID

  • $referenceChannelID

  • $referenceGuildID

  • $textSplitIncludes

  • $joinVoice

  • $startsWith

  • $endsWith

  • $indexOfChar

  • $leaveVoice

  • $voiceMute

  • $setBotName

  • $setBotAvatar

  • $authorAvatar

  • $voiceUnmute

  • $userActivities

  • $voiceDeafen

  • $isValidInvite

  • $serverFeatures

  • $voiceKick

  • $voiceUndeafen

  • $banCount

  • $usersBanned

  • $webhookID

  • $findRole

  • $createWebhook

  • Default bot options to client

  • Built-in Command Handler Bot.manager.load(path)

  • Bot statuses: Bot.status.add({ name: "status name", type: "WATCHING", duration: 15000 })

You can add multiple using that way or passing an array

Renamed:

  • $memberIDs => $serverMembers

Callbacks:

  • onReady (event)

  • readyCommand (type)

  • onMessageUpdate (event)

  • updateCommand (type)

  • onMessageDelete (event)

  • deleteCommand (type)

  • onReactionAdd (event)

  • reactionAddCommand (type)

  • onReactionRemove (event)

  • reactionRemoveCommand (type)

Aliases:

  • $sendMessage ($channelSendMessage)

Fixed:

  • $sub not working properly

  • API message resolver not resolving messages properly

  • $awaitReactions not running functions properly

  • $setTimeout not running functions properly

  • $djsEval returning function snowflake if the output was empty

Other:

  • Listed aliases as a non-required valid property for command type

  • Moved name to optional when using spaceCommand type

Last updated

Was this helpful?