-
-
Notifications
You must be signed in to change notification settings - Fork 3
functions_index
caubert edited this page Jul 2, 2024
·
19 revisions
# Channel addThreadMember closeThread createForumPost createThread deleteForumPost deleteThread editChannelName editChannelTopic editThread getChannel getChannelPins getChannelOrThread getGuildChannel getPinCount getThread getThreadsAllActive getThreadsArchived openThread pinForumPost removeThreadMember unpinForumPost # Database dbBottomEntries dbCount dbDel dbDelByID dbDelMultiple dbGetPattern dbGetPatternReverse dbDecr dbIncr dbRank dbSet dbSetExpire dbTopEntries # ExecCC cancelSheduledUniqueCC execCC sheduleUniqueCC # Golang template pkg and block define else else if eq ge gt html if index js len le lt ne not or range urlquery template with # Golang template pkg additions break continue execTemplate return try-catch while # Math abs add bitwiseAnd bitwiseAndNot bitwiseClear bitwiseNot bitwiseOr bitwiseXor bitwiseLeftShitf bitwiseRightShift cbrt cos div divMod exp exp2 fdiv log mathConst max min mod mult pow randFloat randInt round roundCeil rounEven roundFloor shiftLeft shiftRight sin sqrt sub tan # Member getGuildMembers getTargetPermissionsIn editNickname getBotCount getMember getMemberCount getMemberTimezone hasPermissions onlineCount setMemberTimeOut targetHasPermissions # Mentions mentionEveryone mentionHere mentionRole mentionRoleID mentionRoleName # Message addMessageReactions addReactions addResponseReactions complexMessage complexMessageEdit deleteAllMessageReactions deleteMessage deleteMessageReaction deleteResponse deleteTrigger editMessage editMessageNoEscape getAllMessageReactions getMessage lastMessages pinMessage publishMessage publishResponse sendDM sendMessage sendMessageNoEscape sendMessageNoEscapeRetID sendMessageRetID sendTargetDM unpinMe # Miscellaneous adjective adjectiveNoAPI ccCounters cembed createTicket cslice .Append .AppendSlice .Del .Set .StringSlice derefPointer dict .Del .Get .HasKey .Set editCCTriggerType exec execAdmin execBot getAuditLogEntries getGuild getGuildPreview .DiscoverySplashURL .IconURL .SplashURL hasPrefix hasSuffix getApplicationCommands humanizeThousands in inFold kindOf noun ordinalize parseArgs .IsSet .Len .Switch carg cswitch sdict .Del .Get .HasKey .Set sendTemplate sendTemplateDM seq shuffle sleep sort verb # Role functions addRole addRoleID addRoleName getRole giveRole giveRoleID giveRoleName hasRole hasRoleID hasRoleName removeRole removeRoleID removeRoleName roleAbove setRoles takeRole takeRoleID takeRoleName targetHasRole targetHasRoleID targetHasRoleName # String manipulation joinStr lower normalizeAccents normalizeConfusables print printf println sanitizeText slice split title trim trimLeft trimRight trimSpace upper urlescape urlunescape # String related regexp functions reFind reFindAll reFindAllIndex reFindAllSubmatches reFindAllSubmatchesIndex reFindIndex reQuoteMeta reReplace reSplit # Time currentTime formatTime humanizeDurationHours humanizeDurationMinutes humanizeDurationSeconds humanizeTimeSinceDays loadLocation newDate parseTime snowflakeToTime weekNumber # Type Conversion decodeStringToHex hexToDecimal json jsonToSdict str structToSdict toByte toDuration toFloat toInt toInt64 toInt64Base16 toRune toSHA256 toString # User currentUserAgeHuman currentUserAgeMinutes currentUserCreated getUser pastNicknames pastUsernames userArg