corde

🤖 A simple e2e library for testing Discord Bots 🚀

MIT License

Downloads
292
Stars
121
Committers
9

Bot releases are hidden (Show)

corde - 4.8.0 Latest Release

Published by lucasgmagalhaes almost 2 years ago

4.8.0

Released 16-11-2022

🚀 Features

corde - 4.4.7

Published by lucasgmagalhaes over 2 years ago

🐛 Bug Fixes

  • Remove usage of esm library. It was causing problems when importing using prefix node:
corde - 4.4.6

Published by lucasgmagalhaes over 2 years ago

Released 25-01-2022

💡 Miscellaneous

  • Remove references of config prop: botToken.
corde - 4.4.5

Published by lucasgmagalhaes almost 3 years ago

🐛 Bug Fixes

  • Adjust optional imports of packages used by typescript (#1110, #1111)
corde - 4.4.4

Published by lucasgmagalhaes almost 3 years ago

💡 Miscellaneous

  • Bump commander from 8.2.0 to 8.3.0
corde - 4.4.3

Published by lucasgmagalhaes almost 3 years ago

💡 Miscellaneous

  • Rollback log-update version
corde - 4.4.2

Published by lucasgmagalhaes almost 3 years ago

Released 21-10-2021

💡 Miscellaneous

  • Bump pretty-format from 27.1.0 to 27.2.0
  • Bump jest-diff from 27.1.0 to 27.2.0
corde - 4.4.1

Published by lucasgmagalhaes about 3 years ago

💡 Miscellaneous

  • bump tslib from 2.3.0 to 2.3.1
  • bump jest-diff from 27.0.6 to 27.1.0
corde - 4.4.0

Published by lucasgmagalhaes about 3 years ago

🚀 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 configs
    • guild (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.)
corde - 4.3.1

Published by lucasgmagalhaes about 3 years ago

💡 Miscellaneous

  • bump commander from 8.0.0 to 8.1.0
  • bump chalk from 4.1.1 to 4.1.2
corde - 4.3.0

Published by lucasgmagalhaes about 3 years ago

💣 Breaking changes

  • Update node engine to version 14.

🚀 Features

  • Add typescript support for Corde through the usage of ts-node register
  • Add extensions property in configs. Define file extensions to be loaded. Default [".js",".ts"]
  • Add rootDir property in config. It defines the root dir of the project, with can be used to define others paths in configurations. Default: .
  • Add exitOnFileReadingError property in configs: Define if corde should stop if any problem, occurs when importing a test file: default: true
  • Add project property in configs: Definition of tsconfig path. default root/tsconfig.json*
corde - 4.2.0

Published by lucasgmagalhaes over 3 years ago

4.2.0

💣 Breaking changes

  • Renamed config prop timeOut to timeout. #814
corde - 4.1.2

Published by lucasgmagalhaes over 3 years ago

🐛 Bug Fixes

  • Fix corde attempt to set value {} to config.testMatches, causing an error in initialization due to the expectation
    of this property to be an array. #774
corde - 4.1.1

Published by lucasgmagalhaes over 3 years ago

🐛 Bug Fixes

  • Fix bug that prevents corde to override timeout setting #771
corde - old

Published by lucasgmagalhaes over 3 years ago

corde - Attempt of multi_thread work

Published by lucasgmagalhaes over 3 years ago

Old version of corde

corde - ancient_prototype

Published by lucasgmagalhaes over 3 years ago

Old project version

corde - 4.1.0

Published by lucasgmagalhaes over 3 years ago

🚀 Features

  • Addition of toMessageContentContains and toEmbedMatch test functions #757

💡 Miscellaneous

  • Change references to new website URL
corde - 4.1.0-rc.6

Published by lucasgmagalhaes over 3 years ago

  • Stabilized toEmbedMatch toMessageContentContains
corde - 4.0.5

Published by lucasgmagalhaes over 3 years ago

💡 Miscellaneous

  • upgrade jest-diff from 26.6.2 to 27.0.1
  • upgrade pretty-format from 26.6.2 to 27.0.1
Package Rankings
Top 4.92% on Npmjs.org
Related Projects