Commit Graph

176 Commits

Author SHA1 Message Date
ITOH
31e4929e62 add: cachedAt property for member struct
useful for sweeping
2021-05-27 16:56:34 +02:00
ITOH
efa26e24d5 Merge branch 'change-member-disc-to-number' of https://github.com/discordeno/discordeno into change-member-disc-to-number 2021-05-27 12:27:40 +02:00
ITOH
c6fc8b40a9 number now 2021-05-27 12:27:38 +02:00
itohatweb
f46be53f62 change: prettier code 2021-05-26 19:00:20 +00:00
ITOH
f0cf07d16c change: discriminator to number 2021-05-26 20:59:45 +02:00
ITOH
17f16ee91f these are optional too 2021-05-26 20:49:28 +02:00
rigormorrtiss
c1459d4e12 add: getDiscovery() & change: rename endpoint constant DISCOVERY_MODIFY to DISCOVERY_METADATA (#975)
* feat(helpers/discovery): add getDiscovery() helper

* change: prettier code

* fix: resolve promise and add first argument

* Use DISCOVERY_METADATA endpoint instead

* again, magical commits due to prettier workflow to the origin branch

* change: prettier code

* change: prettier code

* Add permission inhibitors

* Use requireBotGuildPermissions()

* remove skillz bunlder code

Co-authored-by: ITOH <to@itoh.at>
2021-05-26 20:23:41 +02:00
Skillz4Killz
554d7a39a6 so silly 2021-05-23 21:04:46 +00:00
Skillz4Killz
cb13bfdfd0 fix avatrin tojson 2021-05-23 21:02:15 +00:00
Skillz4Killz
a23b09257f fix user update 2021-05-23 20:57:57 +00:00
ITOH
20a3e8a029 Update src/structures/role.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2021-05-23 21:09:42 +02:00
ITOH
7b9becba58 fix: role.permissions should be bigint 2021-05-23 20:27:55 +02:00
Skillz4Killz
0b460937da Merge branch 'toJSON' of https://github.com/discordeno/discordeno into toJSON 2021-05-23 13:33:56 +00:00
Skillz4Killz
8061d1348c add voiceState.toJSON() 2021-05-23 13:33:55 +00:00
Skillz4Killz
dcd88c8811 change: prettier code 2021-05-23 13:32:06 +00:00
Skillz4Killz
d01602f12d add member, message and fix guild toJSON 2021-05-23 13:31:35 +00:00
Skillz4Killz
cffbaf05c5 change: prettier code 2021-05-23 00:38:34 +00:00
Skillz4Killz
f997b23701 add more tojson 2021-05-23 00:38:03 +00:00
Skillz4Killz
c933158e6b DiscordenoChannel.toJSON() 2021-05-22 21:50:40 +00:00
ITOH
ae0ba97d57 remove: nsfw param from Guild structure 2021-05-22 09:58:37 +02:00
Skillz4Killz
61e5d3fcb9 use partial audit logs 2021-05-22 00:37:46 +00:00
ITOH
ddacfdb3f4 Update guild.ts 2021-05-21 18:41:42 +02:00
itohatweb
179add27c9 Prettified Code! 2021-05-21 15:55:49 +00:00
itohatweb
3549cdeb63 Prettified Code! 2021-05-21 15:51:33 +00:00
ITOH
06a3aeda4b fix: member.joinedAt can be undefined 2021-05-15 12:42:30 +02:00
ITOH
32b684784b change: member.joinedAt can be undefined 2021-05-15 11:32:21 +02:00
rigormorrtiss
489ec3d9d7 add(structures): applicationId to Message (#923) 2021-05-12 08:27:48 +01:00
itohatweb
b4a9946bc1 Commit from GitHub Actions (Lint) 2021-05-11 05:11:26 +00:00
ITOH
978f15a449 change: makeAvatarURL options optional 2021-05-10 22:39:14 +02:00
itohatweb
5cf284b6f3 Commit from GitHub Actions (Lint) 2021-05-10 18:19:06 +00:00
ITOH
a80ddfcd92 Update channel.ts 2021-05-10 20:18:43 +02:00
ITOH
5be9f4da7a fix: channel guildId being undefined 2021-05-10 18:32:01 +02:00
ITOH
535e0a1b34 add: async to async methods 2021-05-08 14:30:33 +02:00
ITOH
2f904a3b6f fix: discord message member overwriting message.member getter 2021-05-08 14:30:16 +02:00
Skillz4Killz
15361d4028 Merge branch 'hashes-bigints' of https://github.com/discordeno/discordeno into hashes-bigints 2021-05-07 13:08:23 +00:00
Skillz4Killz
c65a54ac54 quick fix 2021-05-07 13:08:21 +00:00
Skillz4Killz
fe5ac929d2 Merge branch 'main' into hashes-bigints 2021-05-07 09:02:36 -04:00
Skillz4Killz
a32f5b5ece convert hashes to big ints + bools 2021-05-07 12:57:36 +00:00
ITOH
3fda6de728 move structures export to structures mod 2021-05-07 09:48:17 +02:00
ITOH
11e9a800e5 message.guildid has to be bigint 2021-05-06 12:38:05 +02:00
ITOH
95e3c796ec remove author for better auto completion 2021-05-05 21:51:02 +02:00
ITOH
7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
rigormorrtiss
6f280e7781 change(types): move error & file_content to discordeno/ (#903)
* refactor(types): move errors, file_content module to types/discordeno

* refactor(types): move error & file_content module to discordeno/

* Update and fix import statements
2021-05-05 17:19:28 +01:00
Skillz4Killz
9b300ec411 Merge branch 'main' into change-cache-members 2021-05-05 12:08:45 -04:00
ITOH
be6ff0abd7 remove initial cache members queue 2021-05-05 15:55:40 +02:00
ITOH
aefd5c75f5 fix changes 2021-05-04 21:05:43 +02:00
ITOH
c60422a23f Merge branch 'main' into threads 2021-05-04 17:45:38 +02:00
ITOH
63c994e500 silly me 2021-05-04 17:40:59 +02:00
ITOH
ea3f1ac271 Merge branch 'main' into stupid-deno-type-errors 2021-05-04 14:53:44 +02:00
ITOH
5c64d4a1ac this back 2021-05-04 14:48:50 +02:00