Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 23bf320026c425e1abb7a2c0eb099dc7d1611f1f
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Tue Sep 28 01:55:01 2021 +0100

    Squashed commit of the following:

    commit 65cb0ab22a74691747a4d24e893a7b3049e35ac1
    Author: bsian03 <chharry321@gmail.com>
    Date:   Fri Sep 3 02:31:17 2021 +0100

        Actually return the member

    commit fbcbb25c1cc3a199523458c3c9cc5199df939ffb
    Author: bsian03 <chharry321@gmail.com>
    Date:   Fri Sep 3 02:14:48 2021 +0100

        Add thread channel ID to guild map on thread update

    commit b861556b4c9fbc5e3fedab63d0a637518dd07d65
    Merge: 69d5acc daedb2b
    Author: bsian03 <chharry321@gmail.com>
    Date:   Fri Sep 3 01:51:07 2021 +0100

        Merge branch 'dev' into v9

    commit 69d5acc341d3295c559c72de8b7c2e1ff08412eb
    Author: bsian03 <chharry321@gmail.com>
    Date:   Fri Sep 3 01:44:18 2021 +0100

        No one saw this

    commit c09be80304ff08a31274205f608b35ea1288a4b0
    Author: bsian03 <chharry321@gmail.com>
    Date:   Fri Sep 3 01:43:56 2021 +0100

        This is a better fix

    commit 3e3f6239aea78f9e8212d7dfeddc3a882202ccf7
    Author: bsian03 <chharry321@gmail.com>
    Date:   Fri Sep 3 01:42:13 2021 +0100

        Fix not sending newly cached thread channel

    commit daedb2b416d0d3f880668ebed719477d9be59b2d
    Author: Donovan Daniels <hewwo@yiff.rocks>
    Date:   Thu Sep 2 16:40:24 2021 -0500

        Sticker Sending (#1252)

        Co-Authored-By: Catboy <elijahchristopherjohnson@gmail.com>
        Co-authored-by: bsian03 <chharry321@gmail.com>

    commit 6e4990170b5c98f5678091d14fed38336c1c0d56
    Merge: a8d9a6a e357991
    Author: bsian03 <chharry321@gmail.com>
    Date:   Tue Aug 31 22:39:20 2021 +0100

        Merge branch 'dev' into v9

    commit a8d9a6ae522e2751fed94c7fdc196d977bb01f64
    Author: bsian03 <chharry321@gmail.com>
    Date:   Tue Aug 31 22:33:46 2021 +0100

        Correct permission name

    commit 9bb0a17f8f14ad3d942897146c81cf3f47db7802
    Author: bsian03 <chharry321@gmail.com>
    Date:   Tue Aug 31 22:32:14 2021 +0100

        Thread metadata locked guaranteed

    commit e357991c686f900000450dc24834f3afc56b0943
    Author: 5antos <66580910+5antos@users.noreply.github.com>
    Date:   Sun Aug 29 23:18:45 2021 +0100

        Enhancements for VoiceChannel join methods (#1195)

        Co-authored-by: Almeida <almeidx@pm.me>
        Co-authored-by: bsian03 <chharry321@gmail.com>

    commit f3a44356439ed626d31c65ac68b1a429e42f1387
    Author: bsian03 <chharry321@gmail.com>
    Date:   Sat Aug 28 23:59:50 2021 +0100

        Documentation fixes

    commit 6af124d365ea2b542f42ca72e9791d95290df054
    Merge: 890465d 53da0d5
    Author: Bsian <chharry321@gmail.com>
    Date:   Sun Aug 22 12:29:24 2021 +0100

        Merge branch 'dev' of https://github.com/abalabahaha/eris into v9

    commit 890465d7112d00b073ff934f211db469c24649db
    Author: Bsian <chharry321@gmail.com>
    Date:   Fri Aug 20 19:27:03 2021 +0100

        added thread member presence is nullable

    commit afad66e46e41493e3d09d02c8811c4eb92fb6953
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 18 00:25:54 2021 +0100

        Send messages in threads permission

    commit 134f5b9c19eeabb199997fa84d9909ae4209565c
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 18 00:14:53 2021 +0100

        PrivateThread invitable

    commit 000732b2e1f13636a61bc648896134ea3c908713
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Aug 17 21:24:58 2021 +0100

        Seem to have somehow forgotten to remove this

    commit b7b7fba58487d26a2785cd226d261b84e687bee8
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 11 14:48:58 2021 +0100

        getActiveThreads dep to getActiveGuildThreads

    commit bee0cfef0c2f4a395a18b2c23847a065f981c092
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 11 14:16:30 2021 +0100

        Doc updates r.e. v10

    commit a0a75f4300bf54382d066d2ea38037d4fec48986
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 11 14:10:47 2021 +0100

        Lint

    commit f85da811812aacf45d1a39093e8090dfbc1d3fb9
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 11 14:10:33 2021 +0100

        Update member cache on threadMembersUpdate

    commit 098e04c4a3127b4167f3495c2265d7f20c79cff0
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 11 13:51:20 2021 +0100

        Fix caching IDs for threadMembersUpdate

    commit 4e86f70fc9aca45254b1cbec743dcc9c745268b4
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 11 13:33:57 2021 +0100

        Support threads in audit log

    commit 3778a27699ca2a6f18598806fd4bbba842adcd7c
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 11 13:18:46 2021 +0100

        Correct defaultAutoArchiveDuration prop names

    commit 4e3a2f604c16991ebd277656e3a6af332615cad6
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Aug 4 11:58:37 2021 +0100

        Lint

    commit 9f04f8d73c25c51c40511fe2c7898e2be38ee96e
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Aug 3 21:48:10 2021 +0100

        Cache all incoming THREAD_UPDATEs

    commit 24b04d717687e92fdfed2daed0580f4828a316ed
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Aug 3 16:19:07 2021 +0100

        Circular import fix

    commit 1fad0e46bf4ab9155666ba710f9449ea069c5fc3
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Aug 3 15:44:01 2021 +0100

        Fix thread parent ID docs

    commit e84743ac03d303917000900a4ded54736b01d3e4
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Aug 3 15:23:26 2021 +0100

        Update stage instance members properly

    commit b5a0a8879f726722c59f8f39b14d62af8b94843b
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Aug 3 15:20:10 2021 +0100

        Correct typings (message ternary checks)

    commit 448dcb0c436f292c623a882f27365a0ce99d480e
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Aug 3 15:13:44 2021 +0100

        Typings fixes (class implementations)

    commit 083f94ebdaa3d1f5ee36adce1b4c6fc002bb23f6
    Author: Bsian <chharry321@gmail.com>
    Date:   Mon Aug 2 17:43:01 2021 +0100

        Fix permissionsOf when run in stage channels

    commit 29a5ca877fbe9f8e5107877cb22883241d654952
    Author: Bsian <chharry321@gmail.com>
    Date:   Sun Aug 1 15:36:55 2021 +0100

        Correct getActiveThreads

    commit 6aaae359f30bf2a690bdc1dade8b0934df62e56a
    Author: bsian03 <chharry321@gmail.com>
    Date:   Sun Aug 1 14:46:49 2021 +0100

        Lint

        Co-authored-by: iiFDCT <35053522+iiFDCT@users.noreply.github.com>

    commit ffb55481294bc44917f118d9a87f9f9b5c7788e7
    Author: bsian03 <chharry321@gmail.com>
    Date:   Fri Jul 30 23:54:48 2021 +0100

        also for 18

    commit b499354bf104c6e24ae9bd1ad1f1c3f8d46de57d
    Author: bsian03 <chharry321@gmail.com>
    Date:   Fri Jul 30 22:59:02 2021 +0100

        Add case for type 21

    commit b75a28ebdb314c24a8448663a325dfd29b7dfbec
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Jul 13 12:07:26 2021 +0100

        Prefix client prop

    commit 9fad4dad5708d929ba84ea3544f3f36341b4a4d7
    Author: Donovan Daniels <hewwo@yiff.rocks>
    Date:   Mon Jul 12 05:04:35 2021 -0500

        Fix typings for creating thread messages (#15)

    commit 3a1b26a4b32989b02c1b170a17bbf4a0bdc90f3d
    Author: Bsian <chharry321@gmail.com>
    Date:   Fri Jul 2 13:09:18 2021 +0100

        Pass client in param

    commit f8f77c6f79cb275c42138415ab88648136e03f6e
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Jun 30 09:20:15 2021 +0100

        Consistency

    commit 2b2391826af4c15054689ea181682c43f34e0037
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Jun 30 09:16:23 2021 +0100

        Support editing thread default archive duration

    commit 5147bda8bb521e895ed903d99846b7c770902aed
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Jun 30 09:05:12 2021 +0100

        Support stage instance invites

    commit 83bbbdf7a4be83410974307381f195b13ebcaaf1
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Jun 30 00:18:53 2021 +0100

        Update threads to documentation

    commit 54376a0da9f933d26d2a675947270c8ef2752a65
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Jun 30 00:06:03 2021 +0100

        Support stage instances in audit log

    commit 3d57bef633b27b4da2b0200444771a91486a199c
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Jun 29 23:45:02 2021 +0100

        Fix getChannel using channels prop when getting thread channel

    commit 7678cdec5b6b4b8f52f4597ec37d5dcddb9d0f4f
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Jun 29 23:44:35 2021 +0100

        No idea how this trailing whitespace got here

    commit 9bfe4220ce6ba08f9354b640cd027f1e46009d41
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Jun 29 23:42:59 2021 +0100

        Cover channel types in Channel.from

    commit 34a6623e6ea170749870eccd09e545c15b495b9d
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Jun 29 23:42:48 2021 +0100

        Fix incorrectly named constructor param

    commit b405958adfd8c66e982d42fc727dc608fa7b6f0d
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Jun 29 23:35:39 2021 +0100

        Add missing functionality methods

    commit 5184e454ee2cbbc7a839cc2a9e436455ced048b7
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue Jun 29 22:55:02 2021 +0100

        Correct documentation

    commit 289b83478dc6f4006516be5fce2aead20eca6c44
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Jun 23 22:40:00 2021 +0100

        Thread without message type

    commit 6709477e1e1586a59cb27056503775786faa7374
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Jun 23 22:33:49 2021 +0100

        Update method names and docs to match Discord

    commit a3b0fea7a032dce83cf8335ec37ff313739d726f
    Author: Bsian <chharry321@gmail.com>
    Date:   Wed Jun 23 22:05:36 2021 +0100

        Add channel types to thread channel classes

    commit 6fcfcc703b1ae7f79cd2fa4ca093f4396438038b
    Author: Bsian <chharry321@gmail.com>
    Date:   Sat Jun 5 01:02:45 2021 +0100

        Remove Guild#region

    commit b6f93de3439a926ce0b38da41141bf7e0b5176df
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 16:55:51 2021 +0100

        Stage discovery

    commit 239f48db246ded429667235c6e3582b38fbe6580
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 14:09:54 2021 +0100

        Stage instance caching and gateway events

    commit 0de18ca52e731df8238dd201b822b575cb1da8da
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 13:49:25 2021 +0100

        Fix typo

    commit 47f8d20ff27f0b4033dfeb44476d550f424c4488
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 13:37:30 2021 +0100

        Update Webhook interface (interaction webhooks)

    commit 7b0edbbba79e6d60425045c8258abefa9b71a8d2
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 10:40:50 2021 +0100

        GuildMember joinedAt can be null

    commit d1186d4701c737d7c65008e682ede42d8c56700c
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 10:37:01 2021 +0100

        Expose Message#applicationID

    commit 1f20e386808519f044dcf6034c3c6f8f8aa4c82b
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 10:33:12 2021 +0100

        Expose stage instance

    commit c591b45b9a3957e123dc6853b7f357fba6dca71a
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 09:54:42 2021 +0100

        Extra newline

    commit f8c11eab0fb8c42b259d0c8d56828fac0ea5ab14
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 09:42:20 2021 +0100

        Thread documentation clarification

    commit a78baca01240195d1849450accc6bbcc11035750
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 09:34:10 2021 +0100

        Support webhooks sending to thread channels

    commit c6a3fd03bddf5d2a582c148a77211a037a62e073
    Author: Bsian <chharry321@gmail.com>
    Date:   Thu May 27 09:19:33 2021 +0100

        Support uploading new attachments on message edit

    commit e7a2401c1995c6da8eaa4af9cbc5c0efd894f3b6
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 23:20:34 2021 +0100

        Complete gateway events

    commit 7eb457c7d23a43efb27f8e2e124536408a97482d
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 23:14:38 2021 +0100

        Doc fixes

    commit 8888a27430a92e136b1590809df63c18d7ea7409
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 23:11:20 2021 +0100

        Add ThreadMember cache

    commit 8a2bc9094a505e7d49abd7cc169f4c074e33f8e7
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 23:10:29 2021 +0100

        Discord messed up case

    commit 54ef7a49fa247f72fc42f9b620ee8052d0e4d722
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 14:00:47 2021 +0100

        Thread events (so far)

    commit b7ac7bd39870274e07294127e046a43c405a9172
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 13:48:17 2021 +0100

        Add support for stage channels in getChannel

    commit e7099fac6e41e7788017b6641496e02cef842e8e
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 10:44:10 2021 +0100

        Doc update

    commit 1305ed6299336c54a8619e2178214a49dce8971c
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 10:27:10 2021 +0100

        Documentation update

    commit 270e1f74f6817dbe89088cf90a545ffb705f4641
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 10:24:17 2021 +0100

        Add threads prop to guild

    commit 5d433aa898d3df0db026f2355f0333c37f374885
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 10:10:53 2021 +0100

        References for ThreadMember

    commit 552b7de89997a8f00315be10bf899fbedaf604ef
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 10:06:22 2021 +0100

        ThreadMember class

    commit 713a43b4fb535fe7d46b6c084586ad35e616f265
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 10:05:17 2021 +0100

        Fix some stuff

    commit 22bf440bce08992fdb446387b125825430c98ffd
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 09:31:34 2021 +0100

        Typings cleanup

    commit 7403f8d47b6c40c410a5d3e882d6d84d7751e890
    Author: Bsian <chharry321@gmail.com>
    Date:   Tue May 25 09:11:23 2021 +0100

        New classes and methods

    commit 21e23b660e2d4d546741374a1b355e68aa61ceca
    Author: Bsian <chharry321@gmail.com>
    Date:   Mon May 24 23:15:19 2021 +0100

        v9 endpoints

    commit 90076d70ddf404e779fcf30a815e60817a1326b8
    Author: Bsian <chharry321@gmail.com>
    Date:   Mon May 24 22:10:26 2021 +0100

        v9 Constants

commit 319924380b672a58d1225970ceba8be501cafaa0
Merge: 2545c3f 53da0d5
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Aug 28 00:44:49 2021 +0100

    Merge remote-tracking branch 'upstream/dev' into dev

commit 2545c3f041b64651d67fba7c2bbc160037797fc5
Merge: 523cbc4 8184405
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Wed Aug 4 13:12:26 2021 +0100

    Merge branch 'dev' of https://github.com/iiFDCT/eris into dev

commit 523cbc460aa798d0b0f72b2fb6d622123e673dad
Author: bsian03 <chharry321@gmail.com>
Date:   Fri Jul 30 23:54:48 2021 +0100

    also for 18

commit 4ac0c807b53cb574ffcb5439a84524cf0379a0ca
Author: bsian03 <chharry321@gmail.com>
Date:   Fri Jul 30 22:59:02 2021 +0100

    Add case for type 21

commit 9070df6425ed328d1c2677080ebcc21f3b40b4a5
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jul 13 12:07:26 2021 +0100

    Prefix client prop

commit 28dba73e6033cb66565c6eb199a47030454a30fc
Author: Donovan Daniels <hewwo@yiff.rocks>
Date:   Mon Jul 12 05:04:35 2021 -0500

    Fix typings for creating thread messages (#15)

commit 352ba4743ccd23fd3fbd96e0abc625f2f558b12f
Author: Bsian <chharry321@gmail.com>
Date:   Fri Jul 2 13:09:18 2021 +0100

    Pass client in param

commit 324823cfcbaf9c50442de24d480b0b2812d652bf
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 09:20:15 2021 +0100

    Consistency

commit d331af282ce89ae73a4285b3a60ccb3c521ddb9b
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 09:16:23 2021 +0100

    Support editing thread default archive duration

commit 79a90bcb4acdb3ea6082553da0a61b3d94aca03d
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 09:05:12 2021 +0100

    Support stage instance invites

commit 5ffb3d59f754d337abb4d4fb5f164c4f414b5e05
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 00:18:53 2021 +0100

    Update threads to documentation

commit e3240c6f4f81f7edd4a15d9d36ba7b1ce8f4d181
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 00:06:03 2021 +0100

    Support stage instances in audit log

commit e271a74f34da1512be52b03af1d2261f3967b9de
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:45:02 2021 +0100

    Fix getChannel using channels prop when getting thread channel

commit accc9bf8cbe43144f73c7a4a520615f68727906d
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:44:35 2021 +0100

    No idea how this trailing whitespace got here

commit 99126e384a26cb2f54faada7242ed794d35846d4
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:42:59 2021 +0100

    Cover channel types in Channel.from

commit 4d0739581a8e64f8a988d44631a64682b17028f1
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:42:48 2021 +0100

    Fix incorrectly named constructor param

commit 637523a7139f4a1ece5f6bebc99cd8e16065776a
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:35:39 2021 +0100

    Add missing functionality methods

commit 68ee23b5f29ee52861f604e011a232216ff33ab1
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 22:55:02 2021 +0100

    Correct documentation

commit 63b7286a889ade6a4a77e7bacf622f5789519009
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 23 22:40:00 2021 +0100

    Thread without message type

commit 117a9e030f1c92d5d4333014fa286c8654267217
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 23 22:33:49 2021 +0100

    Update method names and docs to match Discord

commit 3fdf47b10b7badd53162662bbdf4e93217ef1cf7
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 23 22:05:36 2021 +0100

    Add channel types to thread channel classes

commit d6613e611af370d58d477f0a112e47cf942fc1b1
Author: Bsian <chharry321@gmail.com>
Date:   Sat Jun 5 01:02:45 2021 +0100

    Remove Guild#region

commit 443e65918a6baea546972965fb7a90cd5481a60b
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 16:55:51 2021 +0100

    Stage discovery

commit eceac797acee6c4e27fab988d3bb9f22aaaf1246
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 14:09:54 2021 +0100

    Stage instance caching and gateway events

commit cb346dc633892aba70884e560f1b7f02b6c35d4a
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 13:49:25 2021 +0100

    Fix typo

commit 4461167f9cf133cca1a4029580e7553597d10230
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 13:37:30 2021 +0100

    Update Webhook interface (interaction webhooks)

commit ac49818dd469bf998b90911d325718503e959b14
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 10:40:50 2021 +0100

    GuildMember joinedAt can be null

commit d6bc7d234051d6c85de2a2f88afaefe1a10dd06c
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 10:37:01 2021 +0100

    Expose Message#applicationID

commit 6a6e46a3eed4a6110d5ce82630d3365cc49b288f
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 10:33:12 2021 +0100

    Expose stage instance

commit 3c30325dee70f1b64fb1ea989b902724f33d580a
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 09:54:42 2021 +0100

    Extra newline

commit 3ecb931d07a710d01973c22669a91b0e8ae181de
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 09:42:20 2021 +0100

    Thread documentation clarification

commit 78d7c30b49f649a2c49daa1545ff01350f8e0b79
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 09:34:10 2021 +0100

    Support webhooks sending to thread channels

commit 46f33fba4aad471ef4363d36706fb6ec5733b783
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 09:19:33 2021 +0100

    Support uploading new attachments on message edit

commit 364ea4a6e7cb5e8b27de92e358a6ba90e051d13b
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 23:20:34 2021 +0100

    Complete gateway events

commit 2594af102d53e36af5fcfa4235cbfd0a12dbc1fd
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 23:14:38 2021 +0100

    Doc fixes

commit 8571dad0fa54065c14fd7724a3e2a8c3dc949f1c
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 23:11:20 2021 +0100

    Add ThreadMember cache

commit 944a40d1c37a449344719616244417f1b45b4325
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 23:10:29 2021 +0100

    Discord messed up case

commit d689b819ee875afe3c73ad25821dd5298e6f179d
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 14:00:47 2021 +0100

    Thread events (so far)

commit b6ca64c9b2b58cde1793042b7fabdd4e741b835b
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 13:48:17 2021 +0100

    Add support for stage channels in getChannel

commit 1971c5a9781eafa3200cbbbdf66629255c924b7a
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:44:10 2021 +0100

    Doc update

commit d6ba955783d8398b4c10bb736a53dd51790f8133
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:27:10 2021 +0100

    Documentation update

commit 671ed9581a8a94365c623dccd67b5e6b0245faaf
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:24:17 2021 +0100

    Add threads prop to guild

commit cd7512b4a13b019341d27ab9b68553602303f32a
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:10:53 2021 +0100

    References for ThreadMember

commit c94e508063ff354f17014ef0deb39e539506f608
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:06:22 2021 +0100

    ThreadMember class

commit 5c052f764192017b7e828c2f5e509743a8f9f848
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:05:17 2021 +0100

    Fix some stuff

commit af6e05ea80ccbdfe77d682415d0469c22816d9d6
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 09:31:34 2021 +0100

    Typings cleanup

commit 5543d9454f12a1989fa8993a972729f264dc3a61
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 09:11:23 2021 +0100

    New classes and methods

commit 1e757078da15ec02a58b208bfa8f1bcb092aaab7
Author: Bsian <chharry321@gmail.com>
Date:   Mon May 24 23:15:19 2021 +0100

    v9 endpoints

commit 3e4a24567fc186e1ee3d16734ba8a7d3f255240a
Author: Bsian <chharry321@gmail.com>
Date:   Mon May 24 22:10:26 2021 +0100

    v9 Constants

commit 47b2265d3cdacce8de4e2d41cf8326d1d996abe2
Author: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Date:   Wed Jul 28 01:30:14 2021 +0100

    Add emoji class and new properties (#10)

    * Move Emoji into its own class

    * Am I okay

    * Actually run the function

    * Don't send client

    * Make sure to update emojis

    * I'm dumb

    * Remove useless properties

    * That's what I get for copy & pasting

    * Improve user validation & send client

    * Whoops

    * Add createdAt

commit aaa23b91fa2099bdcb3d962cceaa93751e5e84d4
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Jun 4 18:00:19 2021 +0100

    Consistency

commit aefd2308cd805c07a5414cbf951539b66c4bed94
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:15:05 2021 +0100

    Consistency & don't assign null for missing fields

commit 5db7a4aada75937f64bc0670de65a5d8e25b1ee1
Author: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Date:   Mon May 31 00:36:49 2021 +0100

    Interactions (#8)

    * Added interaction event, Added Interaction class (1)

    * Fixed accidental commas

    * Update Constants.js

    * Temp commented out InteractionData to test so far

    * Update Interaction.js

    * Added endpoints

    * Forgot / before urls

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Client.js

    * Update Endpoints.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Interaction return changed

    * Attempt to add Interaction Data

    * Update Interaction.js

    * Removed InteractionData.customId

    * Actually did InteractionData Docs

    * acknowledge is just a promise

    * Defer test

    * editResponse test

    * Update Interaction.js

    * Update Endpoints.js

    * Update Endpoints.js

    * Update Interaction.js

    * editResponse Documentation

    * Added testing for content

    * Removed duplicate endpoints

    * Added createFollowup

    * Fixed acknowledge

    * Update Interaction.js

    * Update Interaction.js

    * Test log

    * Commented out broken .then statement

    * Changed some docs, added .edit

    * Update Interaction.js

    * edit => editParent, editResponse => edit

    * Removed editInteractionMessage

    * Updated Docs

    * Update Interaction.js

    * Update Interaction.js

    * Added interaction.delete

    * Update Interaction.js

    * Update Interaction.js

    * Removed dead space between comments and functions

    * Update Interaction.js

    * Added Name to InteractionData

    Co-authored-by: Canine8YT <elijahchristopherjohnson@gmail.com>

commit 9161129732053b04835c3317e760828dbe6cfd59
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Tue May 4 23:18:20 2021 +0100

    Forgot to change these

commit 54d78dbc7ed9ea247ab2bc76325181f30ac38d56
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon Mar 29 15:02:02 2021 +0100

    Use new rest options

commit a244a2b282eabdcdb5fd83b77e96b18dd77687bd
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:47:05 2021 +0000

    Didn't mean to put that here

commit fd0cadef17183a492fa79ef6ecab136a90532b8a
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 17:58:15 2021 +0000

    Test adding tag to struct

commit b6eb19ab75cf237707af97261a34a9ab6f124364
Author: Gleb <38599423+Gleb-ko@users.noreply.github.com>
Date:   Mon Dec 28 21:50:51 2020 +0000

    Fixed space typo

    Co-authored-by: bsian03 <chharry321@gmail.com>

commit 0c58d1ac5938229495310a4c9f59a4b3f00d60f2
Author: Gleb Koval <glebkoval4@gmail.com>
Date:   Sun Dec 27 15:32:01 2020 +0300

    toJSON changes

commit 48053e512f620b9132c60df287688c52a47908a2
Author: Gleb Koval <glebkoval4@gmail.com>
Date:   Sat Dec 19 21:52:34 2020 +0100

    Implemented role tags

commit 328fc8fcae20b544652491e045345b6481449aa4
Author: Dragory <2606411+Dragory@users.noreply.github.com>
Date:   Thu Nov 5 14:21:32 2020 +0200

    Add basic support for stickers

commit d27b0311e6243ca1e1262d68934246accc028f54
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 14:54:02 2021 +0100

    ESLint

commit 61cd160c7634b3a7c4fd0a170db71b9b4abc9209
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Jun 4 18:11:59 2021 +0100

    Finish adding interaction things

commit bc083dd6f1be466b6d19777b09891b9734e97afb
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Jun 4 18:00:19 2021 +0100

    Consistency

commit 19d3fb0e1b1518d2d1844ec80cf0e67283da000a
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:48:18 2021 +0100

    Use client functions (will do the rest soon)

commit 1ada3a0893114f3f1a3b738338988233b4bc4161
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:47:05 2021 +0100

    Return something

commit a2ade1d85f7ebf4ed65fa4a4aa3725e897bc0060
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:15:05 2021 +0100

    Consistency & don't assign null for missing fields

commit 9ed8b50389e195edd2fc621e9479e627b2ace802
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:14:09 2021 +0100

    Idk why this is here

commit 5bfa1f8041b31f94243c1b466990ffbd09b1d3e8
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:13:27 2021 +0100

    ESLint fixes

commit 62ad1a9bb7f4552bfe47e58fbbb7e4251dda8d5d
Author: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Date:   Mon May 31 00:36:49 2021 +0100

    Interactions (#8)

    * Added interaction event, Added Interaction class (1)

    * Fixed accidental commas

    * Update Constants.js

    * Temp commented out InteractionData to test so far

    * Update Interaction.js

    * Added endpoints

    * Forgot / before urls

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Client.js

    * Update Endpoints.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Interaction return changed

    * Attempt to add Interaction Data

    * Update Interaction.js

    * Removed InteractionData.customId

    * Actually did InteractionData Docs

    * acknowledge is just a promise

    * Defer test

    * editResponse test

    * Update Interaction.js

    * Update Endpoints.js

    * Update Endpoints.js

    * Update Interaction.js

    * editResponse Documentation

    * Added testing for content

    * Removed duplicate endpoints

    * Added createFollowup

    * Fixed acknowledge

    * Update Interaction.js

    * Update Interaction.js

    * Test log

    * Commented out broken .then statement

    * Changed some docs, added .edit

    * Update Interaction.js

    * edit => editParent, editResponse => edit

    * Removed editInteractionMessage

    * Updated Docs

    * Update Interaction.js

    * Update Interaction.js

    * Added interaction.delete

    * Update Interaction.js

    * Update Interaction.js

    * Removed dead space between comments and functions

    * Update Interaction.js

    * Added Name to InteractionData

    Co-authored-by: Canine8YT <elijahchristopherjohnson@gmail.com>

commit 2b87396116a01b2e371b951786cb3011a14eac07
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Tue May 4 23:18:20 2021 +0100

    Forgot to change these

commit e5533066464d331d504b1ff0250685524695b752
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Apr 30 00:38:58 2021 +0100

    Add Guild#maxEmojis

commit eae086d42f5295c939ace670169d3f8171e25e2d
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Apr 30 00:38:17 2021 +0100

    Remove Guild#emojiCount

commit b0d3c666d48f5799316698b2fc4c0b2592d53d33
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon Mar 29 15:02:02 2021 +0100

    Use new rest options

commit 4397670f6eb1e7fc27bc3cfd4d9846f60f73fe3a
Author: Flatbird <official.flatbird@gmail.com>
Date:   Tue Mar 23 18:37:00 2021 -0700

    Most important thing ever.

commit 0238ffe4c3be3febde22db4ca34e9e0ab9815f89
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 19:26:40 2021 +0000

    Add Message#guild

commit 15812165bce4e236a9b9b91cb76833095ddb8ac6
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 19:15:02 2021 +0000

    Add Member#highestRole

commit 185b86d6db340a46c90a5ee569d8784af2862694
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:49:26 2021 +0000

    Add Member#displayName

commit c072e50a81b7339fc11737459802d39203edc226
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:49:10 2021 +0000

    Remove Member#permission

commit a5dcaf4b3dd27246aca5d3ae092fac92f9de1c1c
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:47:05 2021 +0000

    Didn't mean to put that here

commit 07f172872d879b106950027a0d066639fba8d1af
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 17:58:15 2021 +0000

    Test adding tag to struct

commit ad67f903310d24b3520f3521d8860c6ddb67f99d
Author: Gleb <38599423+Gleb-ko@users.noreply.github.com>
Date:   Mon Dec 28 21:50:51 2020 +0000

    Fixed space typo

    Co-authored-by: bsian03 <chharry321@gmail.com>

commit b6719650a14e5c4af3f5b8b6f8081ecaf5e27e29
Author: Gleb Koval <glebkoval4@gmail.com>
Date:   Sun Dec 27 15:32:01 2020 +0300

    toJSON changes

commit 73ec85ccd1e17fb47ce94d93512c4d706202c7c8
Author: Gleb Koval <glebkoval4@gmail.com>
Date:   Sat Dec 19 21:52:34 2020 +0100

    Implemented role tags

commit 6e76896592dd4c64261ae3cfc2de15a8ce4fe677
Author: Dragory <2606411+Dragory@users.noreply.github.com>
Date:   Thu Nov 5 14:21:32 2020 +0200

    Add basic support for stickers

commit 2185c68f0fb070426c911161d25dbe0502690bfd
Author: Thewsomeguy <Thewsomeguy@users.noreply.github.com>
Date:   Tue Jan 19 12:14:03 2021 -0600

    Mark pending as optional

commit 81844058ce28d7e31fb1b173ba2e0f23b7e8431e
Author: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Date:   Sat Jul 31 22:28:15 2021 +0100

    Oops

commit ad19bd05832fa810a45d7dd9a18ffdc62651559b
Author: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Date:   Sat Jul 31 22:12:33 2021 +0100

    Fix?

commit eab1431e0d6f4538bc03498f93a499716eb15d4c
Merge: eccadc3 f53786b
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Jul 31 14:06:27 2021 +0100

    Merge branch 'bsian03-v9' into dev

commit f53786b2b7fd59660e21a9b99de0afa8959a0d13
Merge: eccadc3 5b553a8
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Jul 31 14:06:11 2021 +0100

    Merge branch 'v9' of https://github.com/bsian03/eris into bsian03-v9

commit 5b553a85d0ae40e15f11fb09fe5b10a2a5ede20d
Author: bsian03 <chharry321@gmail.com>
Date:   Fri Jul 30 23:54:48 2021 +0100

    also for 18

commit a3c3e6c2fad79808cd1e15d5371f1d8b874164fd
Author: bsian03 <chharry321@gmail.com>
Date:   Fri Jul 30 22:59:02 2021 +0100

    Add case for type 21

commit eccadc3a05db83954b411f1eb4065807ce0d086f
Author: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Date:   Wed Jul 28 01:30:14 2021 +0100

    Add emoji class and new properties (#10)

    * Move Emoji into its own class

    * Am I okay

    * Actually run the function

    * Don't send client

    * Make sure to update emojis

    * I'm dumb

    * Remove useless properties

    * That's what I get for copy & pasting

    * Improve user validation & send client

    * Whoops

    * Add createdAt

commit 2cd4d96c00afd14e6ed4a440ec6370169c556065
Merge: 370e7f4 58d50dd
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Tue Jul 27 15:47:41 2021 +0100

    Merge branch 'abalabahaha-dev' into dev

commit 58d50dd9e1b7aad881391b25aca53d9aa03c71b2
Merge: 370e7f4 ee960c0
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Tue Jul 27 15:46:56 2021 +0100

    Merge branch 'dev' of https://github.com/abalabahaha/eris into abalabahaha-dev

commit 370e7f4977445d8dc3cea1cf2adca25c8c856d8e
Author: Flatbird <official.flatbird@gmail.com>
Date:   Fri Jul 23 13:34:43 2021 -0600

    Add support for content.embed**s**

commit 2f68e648827ea859a0a861f9cc529f25d4edd573
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jul 13 12:07:26 2021 +0100

    Prefix client prop

commit 97b6fc52e60979b6232cfa48f89d9fea373d9bbf
Author: Donovan Daniels <hewwo@yiff.rocks>
Date:   Mon Jul 12 05:04:35 2021 -0500

    Fix typings for creating thread messages (#15)

commit 7facc35fc98bed5e310f003f65a8c13202d7972b
Author: Bsian <chharry321@gmail.com>
Date:   Fri Jul 2 13:09:18 2021 +0100

    Pass client in param

commit 19a499d67c35b351ad0a02f62c626166b3b5ef13
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 09:20:15 2021 +0100

    Consistency

commit 6e385388aa7a39f233ad8a8945dba7dfa90c1278
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 09:16:23 2021 +0100

    Support editing thread default archive duration

commit ef07f1cf5b4d74db97f8d3e142e8de571d69af38
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 09:05:12 2021 +0100

    Support stage instance invites

commit 1afec36478676ceabc89d041821d186d5065311c
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 00:18:53 2021 +0100

    Update threads to documentation

commit 5db7bdea57166551960b7b63e724e7683d6f00c1
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 30 00:06:03 2021 +0100

    Support stage instances in audit log

commit b4898a175690e359352b0553a63bffeea4a3c9ec
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:45:02 2021 +0100

    Fix getChannel using channels prop when getting thread channel

commit d4db3d305d41f964551c32d494f9729c18d1a8b4
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:44:35 2021 +0100

    No idea how this trailing whitespace got here

commit a57b84dffe3ab0871bd6241ebcf66478476162a9
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:42:59 2021 +0100

    Cover channel types in Channel.from

commit a754f21ecfde26c3e47496b76f5d99d4b938e00f
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:42:48 2021 +0100

    Fix incorrectly named constructor param

commit 25e22afb9fe0cae708afa2cb62435527451e0284
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 23:35:39 2021 +0100

    Add missing functionality methods

commit b11aae5e7236774c86320c4b09b442ae9e64d27e
Author: Bsian <chharry321@gmail.com>
Date:   Tue Jun 29 22:55:02 2021 +0100

    Correct documentation

commit e0dff059df44979a05947fc2383cac08d2fb8597
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 23 22:40:00 2021 +0100

    Thread without message type

commit d4c18a130f91f9729659230d95ad23d376337325
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 23 22:33:49 2021 +0100

    Update method names and docs to match Discord

commit d385e2046c2f006dd17f05a65f573ff41ff917c8
Author: Bsian <chharry321@gmail.com>
Date:   Wed Jun 23 22:05:36 2021 +0100

    Add channel types to thread channel classes

commit e89bb439465fb4e4d8e16f989984cee6ccdcc70c
Author: Bsian <chharry321@gmail.com>
Date:   Sat Jun 5 01:02:45 2021 +0100

    Remove Guild#region

commit 7116bffc79393723c4c7eea88ea90fe0d5a1fd44
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 16:55:51 2021 +0100

    Stage discovery

commit f656adac158f9dce6cebfdc29d6c76c3cee4ca35
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 14:09:54 2021 +0100

    Stage instance caching and gateway events

commit 19b79a9c2b253c9af1ab6df44231e7203288d7ec
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 13:49:25 2021 +0100

    Fix typo

commit 8acb5bb28a81cd03d0871b8684d37b70b8ccc0e7
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 13:37:30 2021 +0100

    Update Webhook interface (interaction webhooks)

commit 92b7e99d13233b8d4412ee5d6e6f718c8c89e57f
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 10:40:50 2021 +0100

    GuildMember joinedAt can be null

commit 63713a99261223bf05d506a6a91554a1e747e700
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 10:37:01 2021 +0100

    Expose Message#applicationID

commit 49abf459bd6656cd761a3c77c0a9274001d2a607
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 10:33:12 2021 +0100

    Expose stage instance

commit 787a4e158ec440aa1b3305c17fc19f1a8a052071
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 09:54:42 2021 +0100

    Extra newline

commit 22ee9a91145fb9c870c003b5719590cad4099d97
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 09:42:20 2021 +0100

    Thread documentation clarification

commit ff3f268fa323f62e16b80bcb32258551903ffbef
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 09:34:10 2021 +0100

    Support webhooks sending to thread channels

commit c34869323f682c85fe739cfe257fe7c821a633c0
Author: Bsian <chharry321@gmail.com>
Date:   Thu May 27 09:19:33 2021 +0100

    Support uploading new attachments on message edit

commit bcb8e8ec54a91f216c0a42f105e983aa42688e10
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 23:20:34 2021 +0100

    Complete gateway events

commit 3cfa51c207233aa3a301f3bc2c01e2df7a0106df
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 23:14:38 2021 +0100

    Doc fixes

commit 38bb185300de8c08710a9b61e79a822e157a82ef
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 23:11:20 2021 +0100

    Add ThreadMember cache

commit 349fddbea1e01ea8c0d092c918a41ea32cdb9f0c
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 23:10:29 2021 +0100

    Discord messed up case

commit 727205347cc70b2f1816eaa7c792c5acdb02f4a4
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 14:00:47 2021 +0100

    Thread events (so far)

commit 5e690ccc3b3150bee6ddc61fddd178b44d3fa89e
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 13:48:17 2021 +0100

    Add support for stage channels in getChannel

commit 4352b7a2ed9bce254156a76fda53de9dbd15bbe0
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:44:10 2021 +0100

    Doc update

commit d9c2eddf681c286dda2c7a2e55b81c9005e80357
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:27:10 2021 +0100

    Documentation update

commit 88227d53a3093f0914354e9679464395c6f5ae5b
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:24:17 2021 +0100

    Add threads prop to guild

commit f4ce1554575752ff689a8123daae1a66a2fbb789
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:10:53 2021 +0100

    References for ThreadMember

commit 7585a8aaccfe281d8ef94cfa55c4f40d9ff7e99c
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:06:22 2021 +0100

    ThreadMember class

commit f3cd43742ff2bfb2cda1087d20a5d2ad11239fc9
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 10:05:17 2021 +0100

    Fix some stuff

commit 7991eb6edf2a1b0b47c7ba2504c54f101e93d90f
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 09:31:34 2021 +0100

    Typings cleanup

commit c57d73a7b27e51db5e7e2c18f0fc5e9477772369
Author: Bsian <chharry321@gmail.com>
Date:   Tue May 25 09:11:23 2021 +0100

    New classes and methods

commit 5e16bc3a8e2adeee2e46b4e6538432e3d57fa9d1
Author: Bsian <chharry321@gmail.com>
Date:   Mon May 24 23:15:19 2021 +0100

    v9 endpoints

commit 64f95eacd36e270937866136c3594a629820fb75
Author: Bsian <chharry321@gmail.com>
Date:   Mon May 24 22:10:26 2021 +0100

    v9 Constants

commit 30f47d10545bf42168c3ff66a43d2dc645d84958
Merge: 87d062f 4a93486
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Tue Jul 6 23:25:14 2021 +0100

    Merge branch 'dev' of https://github.com/iiFDCT/eris into dev

commit 87d062fed0182b5795ac7a50d32d414f1866615f
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 14:54:02 2021 +0100

    ESLint

commit 7a3f7bc71aabaa66762b2bfe4b7b1984405f6239
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Jun 4 18:11:59 2021 +0100

    Finish adding interaction things

commit 2a18985549a86bf52ff16896481c8e49ea13b9fa
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Jun 4 18:00:19 2021 +0100

    Consistency

commit 9d0efa596e66bf51439618133c2b329c67a1066d
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:48:18 2021 +0100

    Use client functions (will do the rest soon)

commit 54249787d86ba7a53258b85f271bdaf4d4a2e71c
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:47:05 2021 +0100

    Return something

commit e208e4eaf4657c7e4e101f10281d224873d981ec
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:15:05 2021 +0100

    Consistency & don't assign null for missing fields

commit 7e62113680c46c1054f289f376e6e86c9f850f7e
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:14:09 2021 +0100

    Idk why this is here

commit 4d8c38832687ba40c7b19609e73b4ee4f17595d1
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:13:27 2021 +0100

    ESLint fixes

commit e108d67f579f7c8d1832e28ae083372019d9d79d
Author: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Date:   Mon May 31 00:36:49 2021 +0100

    Interactions (#8)

    * Added interaction event, Added Interaction class (1)

    * Fixed accidental commas

    * Update Constants.js

    * Temp commented out InteractionData to test so far

    * Update Interaction.js

    * Added endpoints

    * Forgot / before urls

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Client.js

    * Update Endpoints.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Interaction return changed

    * Attempt to add Interaction Data

    * Update Interaction.js

    * Removed InteractionData.customId

    * Actually did InteractionData Docs

    * acknowledge is just a promise

    * Defer test

    * editResponse test

    * Update Interaction.js

    * Update Endpoints.js

    * Update Endpoints.js

    * Update Interaction.js

    * editResponse Documentation

    * Added testing for content

    * Removed duplicate endpoints

    * Added createFollowup

    * Fixed acknowledge

    * Update Interaction.js

    * Update Interaction.js

    * Test log

    * Commented out broken .then statement

    * Changed some docs, added .edit

    * Update Interaction.js

    * edit => editParent, editResponse => edit

    * Removed editInteractionMessage

    * Updated Docs

    * Update Interaction.js

    * Update Interaction.js

    * Added interaction.delete

    * Update Interaction.js

    * Update Interaction.js

    * Removed dead space between comments and functions

    * Update Interaction.js

    * Added Name to InteractionData

    Co-authored-by: Canine8YT <elijahchristopherjohnson@gmail.com>

commit b789ff00cfabd9431aba727e2f0fc98e7f373c3d
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Tue May 4 23:18:20 2021 +0100

    Forgot to change these

commit 63299cc978a4d71b1793b26c7121a72de5a76c6d
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Apr 30 00:38:58 2021 +0100

    Add Guild#maxEmojis

commit 683b6be94ef22e9c7487b4a6c665de2b77005dcd
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Apr 30 00:38:17 2021 +0100

    Remove Guild#emojiCount

commit 56e815d5b568e39d999b14092c2b9502038251a5
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon Mar 29 15:02:02 2021 +0100

    Use new rest options

commit 0f3333941c3d763d161b8378a9acd4f7a5c38533
Author: Flatbird <official.flatbird@gmail.com>
Date:   Tue Mar 23 18:37:00 2021 -0700

    Most important thing ever.

commit 992cc7d496e8ce6313627d60795a8de748208f36
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 19:26:40 2021 +0000

    Add Message#guild

commit 8621d8210c84aab51bca4a5e624cdcaf7ef2e321
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 19:15:02 2021 +0000

    Add Member#highestRole

commit 58cd8590c0210d66468d476aa00ffed9ad0828fa
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:49:26 2021 +0000

    Add Member#displayName

commit af10cdc4f06451bd25b3ca5c902f8be2732250e0
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:49:10 2021 +0000

    Remove Member#permission

commit 19b7cc03aab48476e5cf4b27a4f7d49144c099ad
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:47:05 2021 +0000

    Didn't mean to put that here

commit 2c71894685733d0a4d2a746d9988ffd658523e60
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 17:58:15 2021 +0000

    Test adding tag to struct

commit a1f4da01d2ef03132a0047fe8d9b5fb5dd284848
Author: Gleb <38599423+Gleb-ko@users.noreply.github.com>
Date:   Mon Dec 28 21:50:51 2020 +0000

    Fixed space typo

    Co-authored-by: bsian03 <chharry321@gmail.com>

commit de8fe86ac96acf3540e549e235b7b229f5a08b3a
Author: Gleb Koval <glebkoval4@gmail.com>
Date:   Sun Dec 27 15:32:01 2020 +0300

    toJSON changes

commit a2f0d7104273b9b56f4be1e546b048e6958dc3b8
Author: Gleb Koval <glebkoval4@gmail.com>
Date:   Sat Dec 19 21:52:34 2020 +0100

    Implemented role tags

commit 38e1303c346b162d1cf1fc93dfff02d08ab0b32b
Author: Dragory <2606411+Dragory@users.noreply.github.com>
Date:   Thu Nov 5 14:21:32 2020 +0200

    Add basic support for stickers

commit 3a8ccdc4564411e9ee294693681a0c1db10b524f
Author: Thewsomeguy <Thewsomeguy@users.noreply.github.com>
Date:   Tue Jan 19 12:14:03 2021 -0600

    Mark pending as optional

commit 4a93486b1525c3a9bc362f5d5a37eea93c8463f9
Merge: aa63a9e 73192cc
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon Jul 5 19:32:00 2021 +0100

    Merge branch 'stickers' into dev

commit 73192cc638d23e421fcc0d4d76b7417a2d46e2b4
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 22:18:52 2021 +0100

    Add back useless property

commit 811742ed811fd8516fc81de2b306e6b179b6e749
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 16:17:50 2021 +0100

    Docs

commit da4cc1912b423861fad42913d521b5a7f2dd4828
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 16:17:38 2021 +0100

    Wrong func

commit 4f67d28593a1286a8b451730f45419df76cbf75b
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 16:17:25 2021 +0100

    Use camelCase

commit 569f2d899dba971f702f6b6c4e558b0fa083ded4
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 15:55:01 2021 +0100

    Empty string

commit 90dd2434dcf984a99cf51874a83962e46356d1a6
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 15:51:27 2021 +0100

    Add user to cache

commit 464b13f4e94d840624c4d2340bb5bfee4bc9f9cd
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 15:37:04 2021 +0100

    Deprecate `stickers`, use `sticker_items`

commit 754a63316a0abd02f00bfdf4a5ef66eb07245ad1
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 15:31:53 2021 +0100

    Update docs

commit aa63a9e5bdf2fc1e70eea6572ecee56460bbfc30
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sun Jul 4 14:54:02 2021 +0100

    ESLint

commit 42fd89ac8ee54810a99a044e69d2214089937fd9
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Jun 4 18:11:59 2021 +0100

    Finish adding interaction things

commit 2212801a0c7c293f6ade8d6e87c9e50b87e0c1fa
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Jun 4 18:00:19 2021 +0100

    Consistency

commit 7f331966a82cb5826d1411846d8a9e6bc74bb822
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:48:18 2021 +0100

    Use client functions (will do the rest soon)

commit ea02ab9cbc24aaa1c27f506311eda3adb865dd99
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:47:05 2021 +0100

    Return something

commit cf9c684ee47b15c18724cdfaf355c480084bd8cf
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:15:05 2021 +0100

    Consistency & don't assign null for missing fields

commit e70f5d86bcac1d9a744c73b373da290ca58af117
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:14:09 2021 +0100

    Idk why this is here

commit e3bad4ad1343f281839bd167eb317ba1c2aef449
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon May 31 01:13:27 2021 +0100

    ESLint fixes

commit 3dac3c9b76634b9a716e79da45a16d6c45d87c3e
Author: iiFDCT <35053522+iiFDCT@users.noreply.github.com>
Date:   Mon May 31 00:36:49 2021 +0100

    Interactions (#8)

    * Added interaction event, Added Interaction class (1)

    * Fixed accidental commas

    * Update Constants.js

    * Temp commented out InteractionData to test so far

    * Update Interaction.js

    * Added endpoints

    * Forgot / before urls

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Client.js

    * Update Endpoints.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Update Interaction.js

    * Interaction return changed

    * Attempt to add Interaction Data

    * Update Interaction.js

    * Removed InteractionData.customId

    * Actually did InteractionData Docs

    * acknowledge is just a promise

    * Defer test

    * editResponse test

    * Update Interaction.js

    * Update Endpoints.js

    * Update Endpoints.js

    * Update Interaction.js

    * editResponse Documentation

    * Added testing for content

    * Removed duplicate endpoints

    * Added createFollowup

    * Fixed acknowledge

    * Update Interaction.js

    * Update Interaction.js

    * Test log

    * Commented out broken .then statement

    * Changed some docs, added .edit

    * Update Interaction.js

    * edit => editParent, editResponse => edit

    * Removed editInteractionMessage

    * Updated Docs

    * Update Interaction.js

    * Update Interaction.js

    * Added interaction.delete

    * Update Interaction.js

    * Update Interaction.js

    * Removed dead space between comments and functions

    * Update Interaction.js

    * Added Name to InteractionData

    Co-authored-by: Canine8YT <elijahchristopherjohnson@gmail.com>

commit 93ab81fe005cc2932978694e87e8f1cbf41a2ba3
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Tue May 4 23:18:20 2021 +0100

    Forgot to change these

commit 00907ccc82218aa9f894698cbd9cde1a9e8894a1
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Apr 30 00:38:58 2021 +0100

    Add Guild#maxEmojis

commit 9e678ddff7ee9ca7d29cbc30489b70059f5c3e57
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Fri Apr 30 00:38:17 2021 +0100

    Remove Guild#emojiCount

commit 82f23c9dfd45be104706abf7d76daa82130aa0c4
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Mon Mar 29 15:02:02 2021 +0100

    Use new rest options

commit 625f2e18bf92b9d4e200e53407ff48adb5efee58
Author: Flatbird <official.flatbird@gmail.com>
Date:   Tue Mar 23 18:37:00 2021 -0700

    Most important thing ever.

commit 2103380e5ca5d1496d53752cd4635888366b95f1
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 19:26:40 2021 +0000

    Add Message#guild

commit 81d6eb98a27afa207fbda9d640876c9f37474516
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 19:15:02 2021 +0000

    Add Member#highestRole

commit 1c871c3565c1f468755c073ca59eb1a166b823cc
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:49:26 2021 +0000

    Add Member#displayName

commit d3de4a0152e8c9d0f2017aa4aaa0715bc2223bbb
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:49:10 2021 +0000

    Remove Member#permission

commit c143bd8767e36171c25d25b1e1e3c9197c4ca22c
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 18:47:05 2021 +0000

    Didn't mean to put that here

commit cdd642644e043ab27d7d1d021014f9626723a97d
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Mar 20 17:58:15 2021 +0000

    Test adding tag to struct

commit 8d11aec175229ec3a35b23e7fb38f0dce3ca3599
Author: Gleb <38599423+Gleb-ko@users.noreply.github.com>
Date:   Mon Dec 28 21:50:51 2020 +0000

    Fixed space typo

    Co-authored-by: bsian03 <chharry321@gmail.com>

commit 5d3a01c923b4d9dd3763653df99b15328e8eb7ea
Author: Gleb Koval <glebkoval4@gmail.com>
Date:   Sun Dec 27 15:32:01 2020 +0300

    toJSON changes

commit 2521b741049daf5f596c8b8f3b1d7464d884f976
Author: Gleb Koval <glebkoval4@gmail.com>
Date:   Sat Dec 19 21:52:34 2020 +0100

    Implemented role tags

commit e2b84c48eec5053343dca5a1f3c4d6b1a0efa39d
Author: Dragory <2606411+Dragory@users.noreply.github.com>
Date:   Thu Nov 5 14:21:32 2020 +0200

    Add basic support for stickers

commit d0d6ec3752cc0ccebd96e5f5ceb438315146e880
Author: Thewsomeguy <Thewsomeguy@users.noreply.github.com>
Date:   Tue Jan 19 12:14:03 2021 -0600

    Mark pending as optional

commit c074e6cb0899d6d6bbdf2b84743330a9c0588e79
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Jul 3 19:02:34 2021 +0100

    Docs

commit 0d824b582c7e365f439ef9d83d2f700366bc7163
Author: iiFDCT <conor.turner11@gmail.com>
Date:   Sat Jul 3 19:02:22 2021 +0100

    Use `sticker_items`
  • Loading branch information
iiFDCT committed Sep 28, 2021
1 parent 65cb0ab commit 515e168
Show file tree
Hide file tree
Showing 12 changed files with 543 additions and 63 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Eris [![NPM version](https://img.shields.io/npm/v/eris.svg?style=flat-square&color=informational)](https://npmjs.com/package/eris)
CoolEris [![NPM version](https://img.shields.io/npm/v/eris.svg?style=flat-square&color=informational)](https://npmjs.com/package/eris)
====

A Node.js wrapper for interfacing with Discord.
Expand Down
123 changes: 106 additions & 17 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,17 @@ declare namespace Eris {
type PremiumTier = 0 | 1 | 2 | 3;
type VerificationLevel = 0 | 1 | 2 | 3 | 4;

// Message
// Interaction
type InteractionOptions = {
allowedMentions?: AllowedMentions;
components?: ActionRow[];
content?: string;
embed?: EmbedOptions;
flags?: number;
messageReference?: MessageReferenceReply;
tts?: boolean;
type: number;
};
type ActionRowComponents = Button | SelectMenu;
type Button = InteractionButton | URLButton;
type Component = ActionRow | ActionRowComponents;
Expand Down Expand Up @@ -380,15 +390,6 @@ declare namespace Eris {
}

// Emoji
interface Emoji extends EmojiBase {
animated: boolean;
available: boolean;
id: string;
managed: boolean;
require_colons: boolean;
roles: string[];
user?: PartialUser;
}
interface EmojiBase {
icon?: string;
name: string;
Expand Down Expand Up @@ -428,6 +429,7 @@ declare namespace Eris {
features: GuildFeatures[];
icon: string | null;
large: boolean;
maxEmojis: number;
maxMembers?: number;
maxVideoChannelUsers?: number;
mfaLevel: MFALevel;
Expand Down Expand Up @@ -1789,6 +1791,7 @@ declare namespace Eris {
createGuildEmoji(guildID: string, options: EmojiOptions, reason?: string): Promise<Emoji>;
createGuildFromTemplate(code: string, name: string, icon?: string): Promise<Guild>;
createGuildTemplate(guildID: string, name: string, description?: string | null): Promise<GuildTemplate>;
createInteractionResponse(interactionID: string, interactionToken: string, options: InteractionOptions): Promise<void>;
createMessage(channelID: string, content: MessageContent, file?: MessageFile | MessageFile[]): Promise<Message>;
createRole(guildID: string, options?: RoleOptions | Role, reason?: string): Promise<Role>;
createStageInstance(channelID: string, options: StageInstanceOptions): Promise<StageInstance>;
Expand Down Expand Up @@ -2122,6 +2125,23 @@ declare namespace Eris {
flattenErrors(errors: HTTPResponse, keyPrefix?: string): string[];
}

export class Emoji extends Base implements EmojiBase {
animated: boolean | null;
available: boolean | null;
createdAt: number;
format: string;
guild: Guild;
id: string;
managed: boolean | null;
name: string;
require_colons: boolean | null;
roles: string[] | null;
url: string;
user: User | null;
delete(reason?: string): Promise<void>;
edit(options: { name?: string; roles?: string[] }, reason?: string ): Promise<Emoji>;
}

export class ExtendedUser extends User {
email: string;
mfaEnabled: boolean;
Expand Down Expand Up @@ -2157,7 +2177,6 @@ declare namespace Eris {
description: string | null;
discoverySplash: string | null;
discoverySplashURL: string | null;
emojiCount?: number;
emojis: Emoji[];
explicitContentFilter: ExplicitContentFilter;
features: GuildFeatures[];
Expand All @@ -2166,6 +2185,7 @@ declare namespace Eris {
id: string;
joinedAt: number;
large: boolean;
maxEmojis: number;
maxMembers: number;
maxPresences: number;
maxVideoChannelUsers?: number;
Expand Down Expand Up @@ -2398,6 +2418,34 @@ declare namespace Eris {
toJSON(props?: string[]): JSONCache;
}

//Interaction
export class Interaction {
applicationId: string;
channelId: string;
data?: {
componentType?: number;
id?: string;
custom_id?: string;
name?: string;
options?: { name?: string; value: string }
};
guildId?: string;
id: string;
member: Member;
message: Message;
token: string;
type: number;
version: number;
acknowledge(): Promise<void>;
createFollowup(content: InteractionOptions): Promise<Message>;
createMessage(content: InteractionOptions): Promise<void>;
defer(): Promise<void>;
deferUpdate(): Promise<void>;
delete(messageId: string): Promise<void>;
edit(messageId: string, content: InteractionOptions): Promise<Message>;
editParent(content: InteractionOptions): Promise<void>;
}

// If CT (count) is "withMetadata", it will not have count properties
export class Invite<CT extends "withMetadata" | "withCount" | "withoutCount" = "withMetadata", CH extends InviteChannel = InviteChannel> extends Base {
channel: CH;
Expand All @@ -2407,10 +2455,10 @@ declare namespace Eris {
guild: CT extends "withMetadata"
? Guild // Invite with Metadata always has guild prop
: CH extends Extract<InviteChannel, GroupChannel> // Invite without Metadata
? never // If the channel is GroupChannel, there is no guild
: CH extends Exclude<InviteChannel, InvitePartialChannel> // Invite without Metadata and not GroupChanel
? Guild // If the invite channel is not partial
: Guild | undefined; // If the invite channel is partial
? never // If the channel is GroupChannel, there is no guild
: CH extends Exclude<InviteChannel, InvitePartialChannel> // Invite without Metadata and not GroupChanel
? Guild // If the invite channel is not partial
: Guild | undefined; // If the invite channel is partial
inviter?: User;
maxAge: CT extends "withMetadata" ? number : null;
maxUses: CT extends "withMetadata" ? number : null;
Expand All @@ -2433,15 +2481,15 @@ declare namespace Eris {
defaultAvatar: string;
defaultAvatarURL: string;
discriminator: string;
tag: string;
game: Activity | null;
guild: Guild;
id: string;
joinedAt: number | null;
mention: string;
nick: string | null;
displayName: string;
pending?: boolean;
/** @deprecated */
permission: Permission;
permissions: Permission;
premiumSince: number;
roles: string[];
Expand All @@ -2465,6 +2513,7 @@ declare namespace Eris {
applicationID?: string;
attachments: Attachment[];
author: User;
guild: Guild;
channel: T;
channelMentions: string[];
/** @deprecated */
Expand Down Expand Up @@ -2606,6 +2655,45 @@ declare namespace Eris {
unpinMessage(messageID: string): Promise<void>;
unsendMessage(messageID: string): Promise<void>;
}

export class PrivateThreadChannel extends ThreadChannel {
type: 12;
createMessage(content: MessageContent, file?: MessageFile | MessageFile): Promise<Message<PrivateThreadChannel>>;
editMessage(messageID: string, content: MessageContentEdit): Promise<Message<PrivateThreadChannel>>;
getMessage(messageID: string): Promise<Message<PrivateThreadChannel>>;
getMessages(options?: GetMessagesOptions): Promise<Message<PrivateThreadChannel>[]>;
getPins(): Promise<Message<PrivateThreadChannel>[]>;
}

export class PublicThreadChannel extends ThreadChannel {
type: 10 | 11;
createMessage(content: MessageContent, file?: MessageFile | MessageFile): Promise<Message<PublicThreadChannel>>;
editMessage(messageID: string, content: MessageContentEdit): Promise<Message<PublicThreadChannel>>;
getMessage(messageID: string): Promise<Message<PublicThreadChannel>>;
getMessages(options?: GetMessagesOptions): Promise<Message<PublicThreadChannel>[]>;
getPins(): Promise<Message<PublicThreadChannel>[]>;
}

export class PrivateThreadChannel extends ThreadChannel {
threadMetadata: PrivateThreadMetadata;
type: 12;
createMessage(content: MessageContent, file?: MessageFile | MessageFile[]): Promise<Message<PrivateThreadChannel>>;
edit(options: Pick<EditChannelOptions, "archived" | "autoArchiveDuration" | "invitable" | "locked" | "name" | "rateLimitPerUser">, reason?: string): Promise<this>;
editMessage(messageID: string, content: MessageContentEdit): Promise<Message<PrivateThreadChannel>>;
getMessage(messageID: string): Promise<Message<PrivateThreadChannel>>;
getMessages(options?: GetMessagesOptions): Promise<Message<PrivateThreadChannel>[]>;
getPins(): Promise<Message<PrivateThreadChannel>[]>;
}

export class PublicThreadChannel extends ThreadChannel {
type: 10 | 11;
createMessage(content: MessageContent, file?: MessageFile | MessageFile[]): Promise<Message<PublicThreadChannel>>;
edit(options: Pick<EditChannelOptions, "archived" | "autoArchiveDuration" | "locked" | "name" | "rateLimitPerUser">, reason?: string): Promise<this>;
editMessage(messageID: string, content: MessageContentEdit): Promise<Message<PublicThreadChannel>>;
getMessage(messageID: string): Promise<Message<PublicThreadChannel>>;
getMessages(options?: GetMessagesOptions): Promise<Message<PublicThreadChannel>[]>;
getPins(): Promise<Message<PublicThreadChannel>[]>;
}

export class PrivateThreadChannel extends ThreadChannel {
threadMetadata: PrivateThreadMetadata;
Expand Down Expand Up @@ -2931,6 +3019,7 @@ declare namespace Eris {
defaultAvatar: string;
defaultAvatarURL: string;
discriminator: string;
tag: string;
id: string;
mention: string;
publicFlags?: number;
Expand Down
59 changes: 48 additions & 11 deletions lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const Base = require("./structures/Base");
const Channel = require("./structures/Channel");
const Collection = require("./util/Collection");
const Constants = require("./Constants");
const Emoji = require("./structures/Emoji");
const Endpoints = require("./rest/Endpoints");
const ExtendedUser = require("./structures/ExtendedUser");
const GroupChannel = require("./structures/GroupChannel");
Expand Down Expand Up @@ -531,18 +532,18 @@ class Client extends EventEmitter {
}

/**
* Create a guild emoji object
* Create a guild emoji
* @arg {String} guildID The ID of the guild to create the emoji in
* @arg {Object} options Emoji options
* @arg {String} options.image The base 64 encoded string
* @arg {String} options.name The name of emoji
* @arg {Array} [options.roles] An array containing authorized role IDs
* @arg {String} [reason] The reason to be displayed in audit logs
* @returns {Promise<Object>} A guild emoji object
* @returns {Promise<Emoji>}
*/
createGuildEmoji(guildID, options, reason) {
options.reason = reason;
return this.requestHandler.request("POST", Endpoints.GUILD_EMOJIS(guildID), true, options);
return this.requestHandler.request("POST", Endpoints.GUILD_EMOJIS(guildID), true, options).then((emoji) => new Emoji(emoji, this.guilds.get(guildID), this));
}

/**
Expand Down Expand Up @@ -573,6 +574,41 @@ class Client extends EventEmitter {
}).then((template) => new GuildTemplate(template, this));
}

/**
* Respond to the interaction with a message !use createFollowup if you have already responded with a different method
* @arg {String} interactionID The interaction ID
* @arg {String} interactionToken The interaction Token
* @arg {Object} options The options object
* @arg {Object} [options.allowedMentions] A list of mentions to allow (overrides default)
* @arg {Boolean} [options.allowedMentions.everyone] Whether or not to allow @everyone/@here.
* @arg {Boolean | Array<String>} [options.allowedMentions.roles] Whether or not to allow all role mentions, or an array of specific role mentions to allow.
* @arg {Boolean | Array<String>} [options.allowedMentions.users] Whether or not to allow all user mentions, or an array of specific user mentions to allow.
* @arg {String} [options.content] A content string
* @arg {Array<Object>} [options.embeds] An array of Discord embeds. See [the official Discord API documentation entry](https://discord.com/developers/docs/resources/channel#embed-object) for object structure
* @arg {Boolean} [options.flags] 64 for Ephemeral (Applies to Slash Commands and Message Components)
* @arg {Boolean} [options.tts] Set the message TTS flag
* @arg {Number} [options.type] The response type to send [Check Discord docs for valid responses](https://discord.com/developers/docs/interactions/slash-commands#interaction-response-interactioncallbacktype).
* @returns {Promise}
*/
createInteractionResponse(interactionID, interactionToken, options) {
if(options.type === undefined) {
return Promise.reject(new Error("Invalid type provided"));
}
if(options.content === undefined && !options.file && !options.embeds && options.flags === undefined) {
return Promise.reject(new Error("No content, embeds, file or flags"));
}
return this.requestHandler.request("POST", Endpoints.INTERACTION_RESPOND(interactionID, interactionToken), true, {
type: options.type,
data: {
content: options.content,
embeds: options.embeds,
flags: options.flags,
tts: options.tts,
allowed_mentions: this._formatAllowedMentions(options.allowedMentions)
}
});
}

/**
* Create a message in a channel
* Note: If you want to DM someone, the user ID is **not** the DM channel ID. use Client.getDMChannel() to get the DM channel for a user
Expand Down Expand Up @@ -796,7 +832,7 @@ class Client extends EventEmitter {
}

/**
* Delete a guild emoji object
* Delete a guild emoji
* @arg {String} guildID The ID of the guild to delete the emoji in
* @arg {String} emojiID The ID of the emoji
* @arg {String} [reason] The reason to be displayed in audit logs
Expand Down Expand Up @@ -1173,18 +1209,18 @@ class Client extends EventEmitter {
}

/**
* Edit a guild emoji object
* Edit a guild emoji
* @arg {String} guildID The ID of the guild to edit the emoji in
* @arg {String} emojiID The ID of the emoji you want to modify
* @arg {Object} options Emoji options
* @arg {String} [options.name] The name of emoji
* @arg {Array} [options.roles] An array containing authorized role IDs
* @arg {String} [reason] The reason to be displayed in audit logs
* @returns {Promise<Object>} A guild emoji object
* @returns {Promise<Emoji>}
*/
editGuildEmoji(guildID, emojiID, options, reason) {
options.reason = reason;
return this.requestHandler.request("PATCH", Endpoints.GUILD_EMOJI(guildID, emojiID), true, options);
return this.requestHandler.request("PATCH", Endpoints.GUILD_EMOJI(guildID, emojiID), true, options).then((emoji) => new Emoji(emoji, this.guilds.get(guildID), this));
}

/**
Expand Down Expand Up @@ -1732,6 +1768,7 @@ class Client extends EventEmitter {
embeds: options.embeds,
username: options.username,
avatar_url: options.avatarURL,
flags: options.flags,
tts: options.tts,
allowed_mentions: this._formatAllowedMentions(options.allowedMentions),
components: options.components
Expand Down Expand Up @@ -2288,25 +2325,25 @@ class Client extends EventEmitter {
* Get a guild emoji via the REST API. REST mode is required to use this endpoint.
* @arg {String} guildID The ID of the guild
* @arg {String} emojiID The ID of the emoji
* @returns {Promise<Object>} An emoji object
* @returns {Promise<Emoji>}
*/
getRESTGuildEmoji(guildID, emojiID) {
if(!this.options.restMode) {
return Promise.reject(new Error("Eris REST mode is not enabled"));
}
return this.requestHandler.request("GET", Endpoints.GUILD_EMOJI(guildID, emojiID), true);
return this.requestHandler.request("GET", Endpoints.GUILD_EMOJI(guildID, emojiID), true).then((emoji) => new Emoji(emoji, null, this));
}

/**
* Get a guild's emojis via the REST API. REST mode is required to use this endpoint.
* @arg {String} guildID The ID of the guild
* @returns {Promise<Array<Object>>} An array of guild emoji objects
* @returns {Promise<Array<Emoji>>}
*/
getRESTGuildEmojis(guildID) {
if(!this.options.restMode) {
return Promise.reject(new Error("Eris REST mode is not enabled"));
}
return this.requestHandler.request("GET", Endpoints.GUILD_EMOJIS(guildID), true);
return this.requestHandler.request("GET", Endpoints.GUILD_EMOJIS(guildID), true).then((emojis) => emojis.map((emoji) => new Emoji(emoji, null, this)));
}

/**
Expand Down
14 changes: 14 additions & 0 deletions lib/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,17 @@ module.exports.Intents = {
directMessageReactions: 1 << 13,
directMessageTyping: 1 << 14
};

module.exports.InteractionTypes = {
ping: 1,
slashCommand: 2,
messageComponent: 3
};

module.exports.InteractionResponseType = {
PONG: 1,
CHANNEL_MESSAGE_WITH_SOURCE: 4,
DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE: 5,
DEFERRED_UPDATE_MESSAGE: 6,
UPDATE_MESSAGE: 7
};
Loading

0 comments on commit 515e168

Please sign in to comment.