Commit Graph

993 Commits

Author SHA1 Message Date
NotNite 2f33bb32a4
gateway.schemas: add missing guild_subscriptions 2021-09-24 21:53:55 -04:00
NotNite 2df5a93a9b
schemas: make allowed_mentions fields optional 2021-09-24 21:53:13 -04:00
Cynthia Foxwell f162f0ab60 Update license headers 2021-09-24 11:33:06 -06:00
Cynthia Foxwell 49789d66f6 guilds: add templates stub 2021-09-23 20:24:04 -06:00
NotNite a2a85ef621
channels: send full guild info when deleting a channel 2021-09-23 21:48:24 -04:00
NotNite 4f543442b9
op14: verify the channel exists 2021-09-22 21:29:41 -04:00
NotNite 2ec293702f
invites: fix infinite use 2021-09-21 21:42:58 -04:00
NotNite 8e45263f97
luna didnt say i cant break v6 :( 2021-09-21 21:07:05 -04:00
NotNite 25d6c635a3
send 201 on channel create to make client happy 2021-09-21 20:06:49 -04:00
NotNite a1ca74f960
lazy_guild: remove member properly 2021-09-21 18:20:31 -04:00
NotNite e35af92cb9
fix mutual guilds menu 2021-09-21 18:18:51 -04:00
NotNite c72ff84b37
fix key in GUILD_DELETE 2021-09-21 16:02:56 -04:00
NotNite 639368bed3
invites: off-by-one error in max_uses 2021-09-21 12:37:39 -04:00
Luna fdc5630f87 guilds: verify owner before removing member 2021-09-20 23:22:44 -03:00
Luna 3e390caffe add migration to maintain data consistency on members
the tables that should refer to members aren't doing so because
they were declared before the members table itself.

this leads to data inconsistency as members leave or get kicked
or get banned from a guild, and the relevant rows on those tables
ARE NOT removed as well.
2021-09-20 23:07:31 -03:00
NotNite 787d83cd80
Add guild join system message 2021-09-20 16:49:10 -04:00
NotNite e5bc3d0097
Remove outdated docs 2021-09-20 15:28:57 -04:00
Luna 83bf048604 pins: update system message error message 2021-09-14 23:48:58 -03:00
Luna 1b294c68a4 pins: fix unpinning the only pinned message in a channel 2021-09-14 23:48:28 -03:00
Luna 9088ac8fd3 utils: fix bug on not catching 'after' param properly 2021-09-13 23:52:38 -03:00
Luna 5bb9d107a6 storage: properly handle unknown channels on get_channel 2021-09-05 23:30:55 -03:00
Luna 7ac38212a3 storage: assert channel type is valid on more places 2021-09-05 23:30:41 -03:00
Luna ddf78d94e4 storage: fix typing for get_chan_type 2021-09-05 23:30:19 -03:00
Luna 7e79abf344 guilds: properly delete child channels on guild delete 2021-09-05 23:29:35 -03:00
Luna 1d36038469 checks: assert guild channel has correlated guild id 2021-09-05 23:29:19 -03:00
Luna 0a0d0603dd channels: don't ignore unknown channel types 2021-09-05 23:29:07 -03:00
Luna 9d81bef527 channels: handle when chan_type is None 2021-09-05 23:28:54 -03:00
Luna d01fde15da storage: fix typo 2021-09-05 15:50:11 -03:00
Luna 1fcce1ed0c gateway: don't check all the payloads 2021-09-05 00:51:52 -03:00
Luna bcb626c024 storage: add allowed_mentions to get_message 2021-09-05 00:36:37 -03:00
Evie Viau 53c49711cc Implement inline replies 2021-09-05 03:23:00 +00:00
Luna e1b9886f03 update IDENTIFY schema 2021-09-03 00:48:34 -03:00
Luna 871b9e3458 update IDENTIFY schema 2021-09-03 00:35:46 -03:00
Luna 820a81087f update UserFlags 2021-09-02 22:04:00 -03:00
Evie Viau 02a2c5291f Add date of birth which is sent by the official client in registration 2021-09-02 18:46:18 -04:00
Luna d953b86cdf s/remove/pop 2021-09-02 00:32:22 -03:00
Luna c01f02f0c0 add missing import 2021-09-02 00:28:28 -03:00
Luna 09cb230d95 return user objects on dm.recipients
but don't keep self user inside
2021-09-02 00:25:41 -03:00
Luna e2ffaa119d fix subscription state for new dms 2021-09-02 00:08:16 -03:00
Luna dccd90890d dms: represent dm response differently on api >v7 2021-09-01 23:47:55 -03:00
Luna 2eef16e28f dms: fix variable being of wrong type 2021-09-01 23:39:35 -03:00
Luna 829316dae9 dms: add support for v9 create dm 2021-09-01 23:36:59 -03:00
Luna 3b17fd3d7d schema: add CREATE_GROUP_DM_V9 2021-09-01 23:28:19 -03:00
Luna 4fc4f5a229 add request.discord_api_version for normalization 2021-09-01 23:13:49 -03:00
Luna 382cde59d9 gateway: update identify schema 2021-08-31 23:04:42 -03:00
Luna c4e7155f7b messages: fix attachments for latest quart 2021-08-31 22:22:42 -03:00
luna 9fea3d7a43 lazy_guild: fix member list ordering 2021-09-01 00:31:57 +00:00
Luna 46dff6e722 gateway: dont show own user on recipient_ids list 2021-08-31 00:32:13 -03:00
Luna 56b6b8665f gateway: make private_channels v9-compliant 2021-08-31 00:18:16 -03:00
Luna dd10d7f996 s/user_id/member_id 2021-08-30 23:54:13 -03:00