1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00
Commit graph

99 commits

Author SHA1 Message Date
mavolin 647efb8030 Discord: add Mention method to mentionable Snowflakes 2020-09-24 11:54:45 -07:00
mavolin 5acf9f3f22 Discord: fix invalid role mention generation 2020-08-24 16:32:51 -07:00
diamondburned 87c648ae1d Discord: ParseSnowflake now uses ParseUint 2020-08-19 21:53:22 -07:00
Maximilian von Lindern a7e9439109
Discord/API: implement changes to permission, allow and deny fields (#141) 2020-08-17 17:10:43 -07:00
mavolin 2a032ebfab Discord: add watching activity 2020-08-03 17:46:04 -07:00
Maximilian von Lindern 1585797b52 *: Linting and typo fixes (#134)
* Linting and typo fixes

* Linting and typo fixes

* revert comma fix
2020-07-29 16:58:33 -07:00
Maximilian von Lindern 908ef96089 Discord: Uint64 typed Snowflakes (#132)
* Use typed Snowflakes if possible

* Discord: make Snowflakes uint64

* Fix errors that emerged because of new typing
2020-07-29 16:58:33 -07:00
Maximilian von Lindern 78c36f13cd Discord: Rename Snowflake and Timestamp Valid methods (#128)
* Discord: rename Snowflake.Valid() to IsValid()

* Discord: rename Timestamp.Valid() to IsValid()
2020-07-29 16:58:33 -07:00
Tadeo Kondrak d290b0d01c *: Add typed Snowflake IDs (#122)
This PR closes #120.
2020-07-29 16:58:33 -07:00
diamondburned d18298aca9 Discord: Updated message's URL 2020-07-17 11:33:57 -07:00
diamondburned 7572caad31 Discord: Added Relationship API methods; moved structs around 2020-07-14 18:01:24 -07:00
mavolin 52bec08cc6 Discord: fix discovery splash url not getting properly calculated 2020-05-24 17:24:58 -07:00
mavolin 46b001548d Discord: fix wrong hash for discovery splash url 2020-05-24 09:08:24 -07:00
mavolin 19b970bad7 Discord: fix #105 2020-05-23 14:24:03 -07:00
Maximilian von Lindern ce38507fb0
Discord: fixes around meta images (#104)
* API: fix illogical order of parameters

* Discord: fixes around meta images
2020-05-23 10:17:30 -07:00
mavolin 6fbc3e6afd Discord: fix #102 2020-05-23 09:04:12 -07:00
mavolin 530bff74a2 Discord: fix faulty default image link 2020-05-22 14:40:36 -07:00
Maximilian von Lindern 68701704a1 Discord: fix wrong field naming 2020-05-22 08:14:35 -07:00
mavolin 68d3129bfd Discord: add docs 2020-05-22 08:14:35 -07:00
mavolin f4be7971ee Discord: add missing fields to Guild struct 2020-05-22 08:14:35 -07:00
mavolin c5f1bf4753 Discord: add docs for auditlog.go 2020-05-18 10:25:17 -07:00
mavolin 805df29c2e Discord: fix #83 2020-05-17 10:34:47 -07:00
mavolin 41ce1f389e
make all error messages lowercase 2020-05-16 23:14:49 +02:00
mavolin 22a6994c50
Discord: implement #74 2020-05-16 17:57:25 +02:00
Maximilian von Lindern 2c98f4e8e4
Discord: fix typo 2020-05-15 22:13:15 +02:00
mavolin 2c4022734b
Discord: create XURLWithType methods 2020-05-15 22:07:27 +02:00
mavolin ceb6986749
Discord: add ImageType 2020-05-15 21:52:45 +02:00
mavolin 6ee5a1b26d
Discord: fix #70 2020-05-15 20:39:08 +02:00
mavolin b5dedf9408
API/Discord: add GuildPreview 2020-05-15 20:10:35 +02:00
diamondburned (Forefront) 1ca7d1c62c Discord: Fixed Snowflake Valid() returning true for null 2020-05-14 01:03:48 -07:00
diamondburned (Forefront) aa07ff9a43 Discord: Fixed Emoji.APIString() mishandling Unicode characters 2020-05-14 00:49:10 -07:00
Matthew Penner 592d2f7172 Fix null snowflakes being formatted as 18446744073709551615 2020-05-13 15:51:26 -06:00
mavolin 04a80d33e8
API: add docs, use option types 2020-05-12 03:44:13 +02:00
mavolin b3bfc29732
Utils: move Enum to package enum 2020-05-11 22:43:52 +02:00
mavolin b17c32187e
API: implement option and nullable types. 2020-05-11 05:24:59 +02:00
mavolin a29a521c5a
Utils: add nullable package 2020-05-11 04:30:34 +02:00
mavolin c1f942bb92
Discord: use Enum type for types mentioned in #29 2020-05-11 03:26:46 +02:00
diamondburned bc27d1481d
Merge pull request #37 from mavolin/35-modify-integration 2020-05-10 16:50:47 -07:00
mavolin 1b990cd58d
Discord: add dedicated type for ExpireBehavior 2020-05-11 01:45:44 +02:00
mavolin 3dd8daca3d
Discord: Fix #32 2020-05-10 22:11:11 +02:00
diamondburned (Forefront) 0f38294048 API: Added GuildWithCount 2020-05-09 14:59:39 -07:00
diamondburned (Forefront) f9c962fb96 Discord: Added tests for Snowflake 2020-05-08 14:11:56 -07:00
diamondburned (Forefront) 2cad0e87b6 Discord: Marshalled Snowflakes are now -1 when null 2020-05-08 13:56:00 -07:00
diamondburned (Forefront) 55323ee753 Discord: Allow -1 null Snowflake, fixed snowflake time bug 2020-05-08 13:52:46 -07:00
diamondburned (Forefront) cd1dfa10a0 Discord: Removed an inappropriate comment 2020-05-07 20:07:48 -07:00
diamondburned (Forefront) 52ca6638f5 Discord: Fixed incorrect Audit Log structures 2020-05-07 20:01:44 -07:00
diamondburned (Forefront) 56d189be3d Discord/API: Added Audit Log 2020-05-07 17:09:45 -07:00
Samuel Hernandez d252ad1db3
Discord: Fix UserFlags constants for good 2020-05-05 21:08:40 -04:00
diamondburned (Forefront) 3536ae4cb6 Discord: Added a helper HasFlag function 2020-05-04 23:13:15 -07:00
Samuel Hernandez becc1e129a
Discord: Added PublicFlags to User
In the Discord API, User objects were recently given a public_flags
property that bots can access (without OAuth). I've added a field to the
User struct for this.
2020-05-05 01:34:45 -04:00