Releases: cordejs/corde
Releases Β· cordejs/corde
4.8.0
4.4.7
π Bug Fixes
- Remove usage of
esm
library. It was causing problems when importing using prefixnode:
4.4.6
Released 25-01-2022
π‘ Miscellaneous
- Remove references of config prop:
botToken
.
4.4.5
4.4.4
π‘ Miscellaneous
- Bump commander from
8.2.0
to8.3.0
4.4.3
π‘ Miscellaneous
- Rollback log-update version
4.4.2
Released 21-10-2021
π‘ Miscellaneous
- Bump pretty-format from
27.1.0
to27.2.0
- Bump jest-diff from
27.1.0
to27.2.0
4.4.1
π‘ Miscellaneous
- bump tslib from
2.3.0
to2.3.1
- bump jest-diff from
27.0.6
to27.1.0
4.4.0
π Features
API
- Add
configs
in API to access configurations in read-only mode. - Added functions to corde's bot API:
voiceState
(Get state of a connection in a voice channel)client
(Discord.js client used by corde's bot)channel
(gets the TextChannel provided in configsguild
(get Guild provided in configs)guildMembers
(get all members of the guild provided in configs)guilds
(get all guilds to which the bot has access)roles
(get all roles of the guild informed in configs)isLoggedIn
(checks if corde's bot is connected)getOnlyTextChannels
(filter all text channels of the guild provided in configs)isInVoiceChannel
(checks corde's bot is connected to a voiceChannel)fetchChannel
(Fetch for a channel based on its id)fetchGuild
(Fetch a guild based on its id)fetchRole
(Fetch a role based on its id)getChannel
(get the channel defined in configs, or someone searching by its id or name)getGuild
(get the guild defined in configs, or someone searching by its id or name)createGuild
(Creates a new guild)createChannel
(Creates a new channel (default textChannel) into the guild defined in configs)createVoiceChannel
(Creates a new VoiceChannel into the guild defined in configs )createTextChannel
(Creates a new TextChannel into the guild defined in configs)createCategoryChannel
(Creates a new CategoryChannel into the guild defined in configs )getRole
(Find a role in the guild defined in configs.)
4.3.1
π‘ Miscellaneous
- bump commander from 8.0.0 to 8.1.0
- bump chalk from 4.1.1 to 4.1.2