Commit Graph

1471 Commits

Author SHA1 Message Date
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
ayntee dd60de628c Rename code parameter to templateCode to reduce ambiguity 2020-11-14 00:41:25 +04:00
ayntee 1f2c5853de 🎉 Server Templates 🎉 2020-11-14 00:10:13 +04:00
ayntee 985a4358f9 Rename GuildTemplate interface to Template 2020-11-13 23:41:41 +04:00
ayntee f9fddf7621 Server Templates 🎉🎉 2020-11-13 22:53:54 +04:00
ayntee b8b14be320 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into isChannelSynced 2020-11-13 18:11:14 +04:00
ayntee 49815b579d Linted code 2020-11-13 18:09:27 +04:00
ayntee e73a09918c New function isChannelSynced(channelID: string) 2020-11-13 18:04:07 +04:00
Skillz d73cd38c6c add shardID to dispatch event 2020-11-13 08:38:31 -05:00
Skillz cb8a9353eb add getGuild function 2020-11-13 08:29:20 -05:00
Skillz 3b63b1dd9f Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno 2020-11-12 22:49:51 -05:00
Skillz bf0f327691 add dispatchRequirements 2020-11-12 22:49:45 -05:00
ayntee 67b9dc96b4 Make reason parameter optional 2020-11-12 23:25:00 +04:00
ayntee 4ec74fb36d Add reason parameter to editChannel() 2020-11-12 23:21:33 +04:00
Skillz b128530b67 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno 2020-11-12 10:38:39 -05:00
Skillz 1fa5d08370 editBotProfile 2020-11-12 08:32:32 -05:00
ayntee ff711d622a Add missing JSDoc for RoleTags 2020-11-11 20:00:17 +04:00
ayntee 02dce94ada data.tags -> tags 2020-11-11 19:53:12 +04:00