v7.0.0
版本发布时间: 2020-08-06 03:27:18
discordeno/discordeno最新发布版本:18.0.0(2023-01-13 07:50:21)
Changed:
- A lot of leftover hidden snake cases have been changed.
- Update npm deps for the docs
- Move all folders except docs into the
src
folder to improve support for deno extension as it now has enabled option merged in its latest version. So it can fmt/lint specific folders and no longer have issues fmt or linting docs folder. - Refactored a lot of functions that required full objects. For example:
kick(guild: Guild, memberID: string, reason?: string)
now iskick(guildID: string, memberID.......)
closes #61
Added:
- Add oldPresence to presenceUpdate event #79
- Export Collection in mod.ts
-
rawGateway
event handler is available to listen to Gateway events like InvalidSession or Reconnect. -
raw
even will be those that is a discord event your bot would listen to. - More
debug
logs added for you to be able to see more things of what is happening internally. - Big Int Supported Closes #78
- Added permission handling for sending embeds
- Added
isReady
property to the cache object to alert when the bot is FULLY ready. - GuildCreate will no longer be called on all guilds when bot restarts.
guildLoaded(guild)
is the new event handler for every single guild ur bot is on on bootup. GuildCreate is only for guilds that are added after ur bot is online.
Fixed:
- Better
Reconnect
handling implemented. - Fixed a small bug where on occasion it would heartbeat twice after resume.
- Fixed a small bug that would cause heartbeat to be slow by 45 seconds.
- Fixed a small bug that caused an extra resume when it was already resumed
- Fixed TTS send message bug that broke because of channel.guildID typo instead of channel.id