Services
Client
getGuild
General getGuild returns the guild's information. Usage Client:getGuild()Returns: <Guild&...
addGuildMember
General addGuildMember adds a member to the guild using OAuth. It can receive options to arrang...
fetchGuildAuditLogs
General fetchGuildAuditLogs fetches the guild's audit logs. Usage Client:fetchGuildAuditLogs(...
fetchGuildBans
General fetchGuildBans fetches the guild's bans. Usage Client:fetchGuildBans()Returns: <a...
sendMessage
General sendMessage sends a message or an embed to a text channel in the guild. Usage Client...
setCommandEvent
General setCommandEvent is a method defining a function, which will be called after a command i...
sendSector
General sendSector sends a singleton request to the sector service (for example other place) an...
getSector
General getSector returns executed functions in each sector. Works as singleton. Usage Clien...
setSectorFunction
General setSectorFunction setups a service, which lets you bind a function to a sector (sector ...
sendShared
General sendShared sends a shared service request to every server connected to the token. Usa...
setSharedEvent
General setSharedEvent is a method defining a shared service event. It is supposed to receive r...
setClockEvent
General setClockEvent is a method that runs a singleton (cross-server) event every selected per...
getActionEvent
General getActionEvent is a method handling the most of the main services. Usage Client:getA...
getChannel
General getChannel returns a Discord channel from the connected guild by the given ID. Usage ...
unBanUser
General unBanUser unbans a certain user by their userID. Reason can be specified. Usage Clie...
pruneGuildMembers
General pruneGuildMembers kicks the members who were inactive for a certain time and had not be...
setGuildAfkChannel
General setGuildAfkChannel sets the guild's AFK (Away From Keyboard) voice channel. Usage Cl...
setGuildAfkTimeout
General setGuildAfkTimeout sets the guild's voice AFK timeout. Usage Client:setGuildAfkTimeo...
setGuildDefaultMessageNotifications
General setGuildDefaultMessageNotifications sets the default message notifications for the guil...
setGuildExplicitContentFilter
General setGuildExplictContentFilter sets the messages filtering option. Usage Client:setGui...
setGuildIcon
General setGuildIcon sets a new icon for the guild. Usage Client:setGuildIcon(<string>...
setGuildName
General setGuildName sets a new name for the guild. Usage Client:setGuildName(<string>...
setGuildRegion
General setGuildRegoin sets a new server region for the guild. Usage Client:setGuildRegion(&...
setGuildSplash
General setGuildSplash sets a new custom invite link to the guild. This method only works in gu...
setGuildSystemChannel
General setGuildSystemChannel sets a new system channel for the guild. Usage Client:setGuild...
setGuildVerificationLevel
General setGuildVerificationLevel sets a new verification level for the guild. Usage Client:...
editGuild
General editGuild edits the guild. Usage Client:setGuildVerificationLevel(<array> data...
fetchGuildVanityCode
General fetchGuildVanityCode fetches the vanity code (custom invite link code) of the guild. On...
getDate
General getDate gets the current time and date. Usage Client:getDate()Returns: <Array>...
getUserByRobloxId
General getUserByRobloxId returns a user's Discord ID linked to the given Roblox account. Usa...
getUserRobloxId
General getUserRobloxId returns the user's Roblox ID linked to the given Discord account. Usa...
fetchChannelWebhooks
General fetchChannelWebhooks returns a list of requested channels webhooks. Usage Client:fet...
fetchGuildVoiceRegions
General fetchGuildVoiceRegions fetches the voice regions available for the guild. Usage Clie...
setLinkEvent
General setLinkEvent setups a link event. It will do whatever the callback function does when th...
generateLink
General generateLink generates a link to the Okwo website, it can be paired with setLinkEvent to...
getLink
General getLink returns executed links. Works as a singleton. Usage Client:getLink(<numbe...
createChannel
General createChannel creates a new channel in the guild. Usage Client:createChannel(<stri...
getChannels
General getChannels returns the data of all channels in a guild, in ascending or descending orde...
sortChannels
General sortChannels returns all the channels in a guild, but by the given property. Like with t...
fetchGuildWebhooks
General fetchGuildWebhooks returns a list of requested guild webhooks. Usage Client:fetchCha...
isMemberMentionedInMessage
General isMemberMentionedInMessage checks if a certain member is mentioned in a specific messag...
isMentionedInMessage
General isMentionedInMessage checks if a certain channel / user / role is mentioned in a specif...
pinMessage
General pinMessage pins a message to the channel by its ID. Usage Client:pinMessage(<stri...
reactMessage
General reactMessage reacts to a message with a particular emoji in a channel by their IDs. Us...
fetchMessageReactions
General fetchMessageReactions fetches all the reactions in a message. Usage Client:fetchMess...
deleteMessageReaction
General deleteMessageReaction deletes a reaction from a message, no matter how many members hav...
unPinMessage
General unPinMessage unpins a message from the channel by their IDs. Usage Client:unPinMessa...
getMessage
General getMessage retrieves a message that was sent in a channel. Usage Client:getMessage(&...
deleteMessage
General deleteMessage deletes a message that is sent in a channel. Usage Client:deleteMessag...
clearMessageReactions
General clearMessageReactions deletes all the reactions from a message that is sent in a channe...
fetchChannelPinnedMessages
General fetchChannelPinnedMessages returns a list of pinned messages from the requested channel...
cloneChannel
General cloneChannel clones an existing text / voice / category channel in the guild. Usage ...
editMessage
General editMessage edits a specific message in a text channel. Usage Client:sendMessage(<...
getSingleton
General getSingleton returns executed singletons. Works cross-server if the same name has been ...
setSingletonEvent
General setSingletonEvent is a method defining a singleton service event. It is supposed to rec...
sendSingleton
General sendSingleton sends a singleton service request to every server connected to the token ...
createChannelInvite
General createChannelInvite creates a new guild invite with the given landing channel where new...
createChannelWebhook
General createChannelWebhook creates a new webhook that can send messages in the given channel....
fetchChannelInvites
General fetchChannelInvites fetches all the guild invites that have the same landing channel. ...
deleteChannelInvite
General deleteChannelInvite deletes an invite from a channel by the given invite code. Usage ...
lockChannelPermissions
General lockChannelPermissions syncs the given text/voice channel's permissions with its parent...
getChannelMemberPermissions
General getChannelMemberPermissions returns a specific member's permissions in a given channel....
overwriteChannelPermissions
General overwriteChannelPermissions overwrites a channel's permissions for a user / role. Usa...
Webhook
sendMessage
General sendMessage is a method letting you send a message or embed to the channel with the web...
edit
General edit is a method which lets you edit your webhook's name and avatar. Usage Webhook:e...
delete
General delete is a method removing the webhook. Usage Webhook:delete(<string> reason)...
Webhook Tutorial
Client is much more advanced tool with more possibilities! We recommend it much.But if it's stil...
Client Tutorial
WIP