Commit Graph

1317 Commits

Author SHA1 Message Date
Luna 8f3fa52fa8 add test for updating messages 2021-09-14 23:49:28 -03:00
Luna c5af9cacad add test for pinned messages 2021-09-14 23:49:21 -03: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 ea06ea88e2 tests: add test for 'before' and 'after' params 2021-09-13 23:52:27 -03:00
Luna 3d79163ef9 add test for message listing in 'around' param 2021-09-13 23:34:38 -03:00
Luna 9861823434 tests: assert deleted message is actually deleted 2021-09-13 23:25:05 -03:00
Luna 8da480db88 tests: add test for bulk deletes 2021-09-13 23:24:05 -03:00
Luna 415f1fa3be tests: add test for channel delete 2021-09-13 22:54:10 -03:00
Luna 2f9fea2740 test_channels: validate new channels can be fetched on api 2021-09-13 22:20:12 -03:00
Luna 3d27a30339 tests: use test user on test_user_update 2021-09-07 00:07:36 -03:00
Luna 829767318e tests: add more fields to WrappedUser 2021-09-07 00:05:17 -03:00
Luna 866accb45f tests: add test for different member deleting own message 2021-09-06 00:14:43 -03:00
Luna e5691e1362 tests: make all parameters optional on create_user 2021-09-06 00:14:28 -03:00
Luna d7abc1e700 add test_channels 2021-09-05 23:58:24 -03:00
Luna 4fa8fd9d39 tests: add support for guild channels and messages 2021-09-05 23:58:08 -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 948627efd1 tests: make test app fixture async 2021-09-05 18:29:03 -03:00
Luna de4c5a5e75 remove unused import 2021-09-05 15:56:04 -03:00
Luna 60e21a1733 tests: use test guild resource for admin api test_guilds 2021-09-05 15:55:20 -03:00
Luna 494a6b5c63 tests: add support for test guild resources 2021-09-05 15:50:27 -03:00
Luna d01fde15da storage: fix typo 2021-09-05 15:50:11 -03:00
Luna ddf27ace1a tests: add test_find_single_user with test resources 2021-09-05 14:05:11 -03:00
Luna 7b98b2332f tests: add test resource awareness 2021-09-05 14:04:59 -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
luna 4860ae369d Merge branch 'feature/implement-inline-replies' into 'master'
Implement inline replies

Closes #131

See merge request litecord/litecord!79
2021-09-05 03:23:00 +00: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
Luna 1a0fe767c3 manage: add setflag and unsetflag commands 2021-09-02 21:44:34 -03:00
luna 111d747c38 Merge branch 'master' into 'master'
Add date of birth which is sent by the official client in registration

See merge request litecord/litecord!78
2021-09-02 23:23:32 +00: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