Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: message#isReply & message#url #222

Merged
merged 5 commits into from
Apr 11, 2023
Merged

feat: message#isReply & message#url #222

merged 5 commits into from
Apr 11, 2023

Conversation

WeismannS
Copy link
Contributor

@WeismannS WeismannS commented Apr 6, 2023

Please describe the changes this PR makes and why it should be merged:

Status

  • Code changes have been tested.

Semantic versioning classification:

  • Added Message.isReply to check if message is a reply
  • Added await Message.server to directly access the server will return null if it's not a server (currently it's not possible to return null)
  • Switched message.channel() to fetch instead of getting from cache
  • Added message.url()

Added message.url()
Added message.server
Switched message.channel() from getting from cache to fetching
Added message.url()
Added message.server
Switched message.channel() from getting from cache to fetching
@changeset-bot
Copy link

changeset-bot bot commented Apr 6, 2023

🦋 Changeset detected

Latest commit: 7d8b78b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
guilded.js Patch
@guildedjs/gil Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

…e fetching

message.channel is now method that tries to find server in cache before fetching
@zaida04 zaida04 changed the title Added a few more properties and methods to Message structure feat: message#isReply & message#url Apr 11, 2023
@zaida04 zaida04 merged commit 0a6088b into zaida04:main Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants