Ethien Duckett
456692da93
API: stay within the boundaries of messageIDs ( #160 )
2020-11-11 11:07:30 -08:00
Maximilian von Lindern
cc1975988d
API: abstract away boundary limits for DeleteMessages ( #159 )
...
remove boundary limits for DeleteMessages
rename deleteMessages to deleteMessagesRaw
use constant instead of limit literal
add min helper func
rename utils.go to math.go
2020-11-10 15:34:05 -08:00
diamondburned
75df94d9f4
*: Migrated Go Modules to v2
2020-10-28 15:39:59 -07:00
Maximilian von Lindern
397d288927
API: fix errors in message pagination and streamline changes with other pagination methods ( #150 )
...
* API: fix faulty pagination behavior
This fix fixes a condition which lead to all messages getting fetched if the limit was a multiple of 100, instead of just the limit.
* API: add NewestMessages
* API: clarify MessageAfter docs
* API: adapt paginating methods for guild, member and message reaction to match the style of message's pagination methods
* API: return nil if no items were fetched
* API: remove Messages and Rename NewestMessages to Messages
2020-10-19 07:47:43 -07:00
diamondburned
dec39c4c2d
API: Fixed Messages{Before,After} fetching incorrectly beyond 100s
2020-10-18 22:14:49 -07:00
Tadeo Kondrak
d290b0d01c
*: Add typed Snowflake IDs ( #122 )
...
This PR closes #120 .
2020-07-29 16:58:33 -07:00
mavolin
6c3b1e0c56
API: verify Embed and AllowedMentions on message edit
2020-05-24 16:57:23 -07:00
mavolin
55e9c28d37
API: fix Message.Author.ID getting sent instead of Message.ID
2020-05-24 09:08:47 -07:00
mavolin
e4b43c0a83
Discord: fix invalid calc of after
2020-05-22 16:01:09 -07:00
mavolin
b3fabae701
API: implement #77
2020-05-17 01:35:57 +02:00
mavolin
7cb3520bc7
API: re-add pointer to embed to preserve optionality
2020-05-15 19:40:00 +02:00
mavolin
52a7582dab
API: remove the pointer of Embed to concur with SendMessage
2020-05-15 19:19:13 +02:00
mavolin
11cf1eb769
API: implement #63
2020-05-15 19:17:52 +02:00
mavolin
e362b10084
API: update docs
2020-05-15 19:14:37 +02:00
diamondburned (Forefront)
9f1f7547b9
API: Reversed EditMessage API for backwards compatibility and consistency
2020-05-12 16:51:35 -07:00
mavolin
72136d5aef
API: implement #49
2020-05-12 05:21:48 +02:00
mavolin
fb3ea3ce10
API: code cleanup
2020-05-12 04:05:08 +02:00
mavolin
04a80d33e8
API: add docs, use option types
2020-05-12 03:44:13 +02:00
diamondburned (Forefront)
3a43e413d8
Utils: Deprecated client-scoped JSON driver
2020-05-07 20:43:46 -07:00
diamondburned (Forefront)
748ad5641c
API: Added AllowedMentions and more tests
2020-04-19 16:35:37 -07:00
diamondburned (Forefront)
be12849668
Changed internal/ to utils/, allowing external imports
2020-04-08 19:28:40 -07:00
diamondburned (Forefront)
4b53d72db1
Discord: Removed invalid avatar discriminator URL
2020-02-17 09:28:52 -08:00
diamondburned (Forefront)
0978d513c4
Fixed bug where Messages can't be fetched
2020-01-19 23:21:57 -08:00
diamondburned (Forefront)
05c8932166
Fixed SendComplex
2020-01-18 19:12:08 -08:00
diamondburned (Forefront)
e98c533114
MeanwhileBody tests
2020-01-18 18:27:30 -08:00
diamondburned (Forefront)
958f592cb4
Finished state
2020-01-18 11:34:08 -08:00
diamondburned (Forefront)
ef0dd9beef
Added API integration tests
2020-01-15 20:44:11 -08:00
diamondburned
127c636310
Moved misc packages to internal
2020-01-15 10:32:54 -08:00
diamondburned (Forefront)
d6ab7b9d52
Completed guilds, added max pagination API
2020-01-06 22:45:29 -08:00
diamondburned (Forefront)
966d14a32f
Nitpicking function signature formatting
2020-01-05 21:32:25 -08:00
diamondburned (Forefront)
084cf093ae
Changed Range method APIs
2020-01-05 21:22:26 -08:00
diamondburned (Forefront)
a386f6a359
More things, what a pain in the ass
2020-01-05 19:48:39 -08:00
diamondburned
b77d5f20da
Fixed package header pointing to sourcehut instead of GitHub
2020-01-02 11:55:45 -08:00
diamondburned
e41a2c7c42
Moved Discord structs to package discord
2020-01-02 11:53:08 -08:00
diamondburned
09d9651507
Initial commit
2020-01-01 21:39:52 -08:00