Commit Graph

229 Commits

Author SHA1 Message Date
Skillz
a8c74c82e5 fixing tests and perm check bug 2020-11-18 13:08:47 -05:00
Skillz
0a040fb8a8 Merge branch 'next' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-18 13:07:16 -05:00
Skillz
ab04de5a98 cleanup of deprecated 2020-11-18 13:06:48 -05:00
Skillz4Killz
d05d264b2e Update src/types/options.ts
Co-authored-by: ayntee <ayyantee@gmail.com>
2020-11-18 13:05:22 -05:00
Skillz
9e49d8da11 deno fmt 2020-11-18 12:52:46 -05:00
Skillz4Killz
5e38843418 Merge pull request #203 from Skillz4Killz/permission-consistency
[BREAKING] Permission consistency
2020-11-18 12:50:23 -05:00
Skillz
1b63907256 more places to change 2020-11-18 12:29:57 -05:00
Skillz
ff3f33b285 permissions => permission 2020-11-18 12:21:45 -05:00
Skillz
6ecdb9fc9b move guild.members to cache.members 2020-11-18 11:58:26 -05:00
Skillz
65e04f656f Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-18 10:11:40 -05:00
Skillz
f3a66be660 fixes 2020-11-18 09:20:36 -05:00
ayntee
a49853d79b Bug fix 2020-11-18 10:43:48 +04:00
Skillz4Killz
213b8dcf7d Merge pull request #161 from Skillz4Killz/large-bot-optimizations
Big Brain Bots (Massive Bot optimizations)
2020-11-18 00:45:03 -05:00
Skillz
7c8b85cde9 remove guild.channels 2020-11-18 00:11:22 -05:00
Skillz4Killz
9399f30523 Merge branch 'next' into large-bot-optimizations 2020-11-17 23:48:42 -05:00
Skillz
3c97b29cbe Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-17 23:46:13 -05:00
Skillz
af5814e8a7 more work! 2020-11-17 23:43:04 -05:00
Skillz
933688f9a3 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into large-bot-optimizations 2020-11-17 19:27:08 -05:00
Skillz
85d2ffef49 add force option to get member in uncached guild 2020-11-17 16:26:49 -05:00
Skillz
e3f6b033b3 fmt 2020-11-16 23:29:08 -05:00
Skillz
bd6c89fdd6 fix bugs 2020-11-16 23:28:49 -05:00
Skillz
7f2538f93c allow everyone role to be checked 2020-11-16 22:51:37 -05:00
Skillz
c919779b26 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into inline-replies 2020-11-16 22:39:04 -05:00
Skillz
a1832f3721 needs testing 2020-11-16 22:20:06 -05:00
Skillz4Killz
b6b18f38ab Merge pull request #196 from Skillz4Killz/errors
Better error messages for request manager
2020-11-16 12:13:59 -05:00
ayntee
30d2ba3cf8 Resolve promises 2020-11-16 19:43:11 +04:00
Skillz4Killz
9062bb1045 Merge pull request #195 from Skillz4Killz/feat
feat: overridable handlers
2020-11-16 08:36:57 -05:00
ayntee
f7609ad9cd Update src/handlers/mod.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-11-16 17:35:31 +04:00
ayntee
6446f16161 Better error messages for request manager 2020-11-16 12:36:13 +04:00
ayntee
3cce7c2732 feat: overridable handlers 2020-11-16 12:09:32 +04:00
ayntee
ca9a3095f8 Rename and move constants/discord.ts to utils/constants.ts 2020-11-15 22:22:27 +04:00
ayntee
ead9bc7baa Resolve promise for all instances of botHasPermission() 2020-11-14 19:28:49 +04:00
Skillz4Killz
f40530ab9a Update cache.ts 2020-11-14 08:41:37 -05:00
Skillz4Killz
3583ad16c5 Update src/handlers/guild.ts 2020-11-14 08:26:58 -05:00
ayntee
8d7157cc60 Use cacheHandler instead of cache 2020-11-14 17:18:28 +04:00
ayntee
a42b62bacc Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into server-template 2020-11-14 17:17:30 +04:00
ayntee
223ee10bc3 Add size() to cacheHandlers 2020-11-14 17:00:16 +04:00
ayntee
8bb9095a74 Suggestions 2020-11-14 16:36:09 +04:00
ayntee
2c2c2e95e4 Update src/handlers/guild.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-11-14 16:33:34 +04:00
ayntee
0efa33d00d Update src/handlers/guild.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-11-14 16:33:23 +04:00
ayntee
de6696aa83 Update src/handlers/guild.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-11-14 16:33:13 +04:00
ayntee
873a20d89d Update src/handlers/guild.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-11-14 16:33:02 +04:00
ayntee
dfba8ec8af Update src/handlers/guild.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-11-14 16:31:54 +04:00
ayntee
e86658ad2a Update src/handlers/guild.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-11-14 16:31:41 +04:00
ayntee
d88bbf266a Convert Retry-After to ms 2020-11-14 15:02:14 +04:00
ayntee
357f2d06a4 Idk 2020-11-14 14:23:59 +04:00
ayntee
1ead672386 New template structure 2020-11-14 11:28:08 +04:00
ayntee
087f1f1df7 Add permission-checking 2020-11-14 11:06:44 +04:00
ayntee
d31cf09c64 Better types for getGuildTemplate() 2020-11-14 10:44:58 +04:00
ayntee
9c5031259f Embed endpoint into function instead of assigning to var 2020-11-14 10:43:08 +04:00