Included Extendables

get attachable

A getter to check and see if you can attach files in the channel.

Applies to:

Source:

extendables/attachable.js

get embedable

A getter to check and see if you can embed links in the channel.

Applies to:

Source:

extendables/embedable.js

get guildSettings

A getter to check get either the guild settings if in a guild, or the default bot settings in dm/group dm.

Applies to:

Source:

extendables/guildSettings.js

get postable

A getter to check and see if you can send messages in the channel.

Applies to:

Source:

extendables/postable.js

get language

A getter to get the configured language.

Applies to:

Source:

extendables/language.js

get reactable

A getter to check and see if you can react in the channel.

Applies to:

Source:

extendables/reactable.js

get readable

A getter to check and see if you can read in the channel.

Applies to:

Source:

extendables/readable.js

get settings

A getter to get the settings in a guild.

Applies to:

Source:

extendables/settings.js

get usableCommands

A getter to return a collection of usable commands by the message author/member.

Applies to:

Source:

extendables/usableCommands.js

hasAtLeastPermissionLevel(permission:number)

Checks to see if the author/member has atleast the Permission level passed.

Applies to:

Source:

extendables/hasAtLeastPermissionLevel.js

send(content:string, options:Object)

A shortcut to channel.send, but also makes the response an editable command.

Applies to:

Source:

extendables/send.js

sendCode

A shortcut to channel.send, but also makes the response an editable command.

Applies to:

Source:

extendables/sendCode.js

sendEmbed

A shortcut to channel.send, but also makes the response an editable command.

Applies to:

Source:

extendables/sendEmbed.js

sendFile

A alias to channel.send({files:{file:....

Applies to:

Source:

extendables/sendFile.js

sendFiles

A alias to channel.send({files:...

Applies to:

Source:

extendables/sendFiles.js

sendMessage

A shortcut to channel.send, but also makes the response an editable command.

Applies to:

Source:

extendables/sendMessage.js

Further Reading: