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

refactor(Emoji): remove Guild#deleteEmoji in favour of Emoji#delete #1877

Merged
merged 1 commit into from
Sep 3, 2017

Conversation

SpaceEEC
Copy link
Member

@SpaceEEC SpaceEEC commented Sep 3, 2017

(Not sure whether refactor applies here, from the description it's the closest.)
Please describe the changes this PR makes and why it should be merged:

Moved the deletion of an emoji from Guild to its Emoji instance.
Looked wrong to not have Emoji#delete when it would totally make sense to have it.

Semantic versioning classification:

  • This PR changes the library's interface (methods or parameters added)
    • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

@iCrawl iCrawl merged commit c93c4ad into discordjs:master Sep 3, 2017
@SpaceEEC SpaceEEC deleted the Emoji#delete branch September 3, 2017 10:18
iCrawl pushed a commit that referenced this pull request Sep 3, 2017
… into their date stores (#1869)

* refactor/fix(DataStores): move instantiating of store related classes into the relevant create methods and fixed FetchMemberOptions

* Renamed ChannelStore's constructor parameter for claritiy

* define client property before creating items from passed iterable to avoid the client property being undefined

* Fix fetching members with a limit

* add static Channel#create back and moved channel instantiating there

* make ChannelStore's constructor accept an iterable

* make iterable an optional parameter, allow to just pass client and options

* fixed a little typo in docs of <User>.displayAvatarURL() (#1872)

* Rewrite presence a little bit (#1853)

* such presence many good

* Update PresenceStore.js

* Update index.js

* Update ClientPresenceStore.js

* Update Presence.js

* Update ClientPresenceStore.js

* Update ClientUser.js

* Update Presence.js

* add timestamps and party

* Update Presence.js

* Update PresenceStore.js

* Update ClientPresenceStore.js

* Update ClientPresenceStore.js

* fix: made options.type optional in ClientUser#setActivity (#1875)

* fix: made options.type optional in ClientUser#setActivity

* some changes, smol fix

due to too many types being possible, it should just be defaulted to 0. this means streamers will have to set the type manually, though.
also mistake with activity.name check

* docs(Collection): Adjust exists documentation (#1876)

Since the return value of Collection#exists is basically just a boolean of Collection#find's result, the same documentation and arguments can and should be applied.

* refactor(Emoji): remove Guild#deleteEmoji in favour of Emoji#delete (#1877)

* refactor/fix(DataStores): move instantiating of store related classes into the relevant create methods and fixed FetchMemberOptions

* Renamed ChannelStore's constructor parameter for claritiy

* define client property before creating items from passed iterable to avoid the client property being undefined

* Fix fetching members with a limit

* add static Channel#create back and moved channel instantiating there

* make ChannelStore's constructor accept an iterable

* make iterable an optional parameter, allow to just pass client and options

* rebase, this time with saving the file

* address issue with falsy activity throwing errors when setting client's presence
SpaceEEC added a commit to SpaceEEC/discord.js that referenced this pull request Jun 14, 2019
This backports discordjs#1877 (c93c4ad) in a semver-minor manner.
SpaceEEC added a commit to SpaceEEC/discord.js that referenced this pull request Jun 14, 2019
This backports discordjs#1877 (c93c4ad) in a semver-minor manner.
@SpaceEEC SpaceEEC mentioned this pull request Jun 14, 2019
5 tasks
SpaceEEC added a commit that referenced this pull request Jun 16, 2019
This backports #1877 (c93c4ad) in a semver-minor manner.
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