Skip to content

Releases: JustAnEric/Revolution.js

v1.3.0

11 Jul 15:37
2a74b71
Compare
Choose a tag to compare

Changes:

  • Added Message class
  • Message.message is changed to Message.content
  • Message.sent_by is now part of the User class
  • Message.channel is now part of the Channel class
  • Added User class
  • Added Channel class
  • Added Server class
  • Added Bot(commands) parameter
  • Added a way to easily do commands
  • Added Bot.command()

Migrating from 1.2:

  • Getting the ID of the channel of a message has been changed from message.channel to message.channel.id
  • Getting the content of a message is changed from message.message to message.content
  • The servers argument in the Bot constructor has been changed to channels

v1.2.1

10 Jul 21:59
Compare
Choose a tag to compare

Changes:

  • Multiple listeners of the same type can now be made
  • Added removeListener() for removing a listener

v1.2.0

10 Jul 21:57
44bd70d
Compare
Choose a tag to compare

Changes:

  • commands is now deprecated
  • Removed internet check in commands
  • Bot is now accessible directly
  • Added ability to use a custom endpoint and websocket url
  • Bot now uses websockets for events instead of directly pinging the server
  • The call for sending messages now includes the token

Migrating from 1.0/1.1:

  • Instead of using commands.Bot(), the Bot class should be used directly

v1.1.3

10 Jul 21:52
Compare
Choose a tag to compare

Changes:

  • Added ready and connect events
  • after_ping is now put in a try catch statement

v1.0.5

27 Jun 18:04
3fa439a
Compare
Choose a tag to compare

Changes:

  • Remove bot.run call and instead directly fetch messages

v1.0.2

27 Jun 17:56
626c2f2
Compare
Choose a tag to compare

Changes:

  • Make the call to bot.run not include the bot token