Commit Graph

459 Commits

Author SHA1 Message Date
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
ayntee f3e8673dff Revert "Update role.ts"
This reverts commit feab857ba6.
2020-11-11 19:50:47 +04:00
ayntee b2ca3f8146 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into role.tags 2020-11-11 19:46:57 +04:00
ayntee feab857ba6 Update role.ts 2020-11-11 13:15:17 +04:00
Skillz 7f0d52e5ba fmt 2020-11-09 16:11:01 -05:00
Skillz be27976bae much faster rest 2020-11-09 14:41:08 -05:00
ayntee efcf567db0 Resolve promise for all botHasChannelPermissions() 2020-11-06 23:16:41 -08:00
ayntee 717d8cd3e3 Lower the time limit for ready event activation 2020-11-05 23:16:33 -08:00
ayntee e01b141527 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-04 07:17:01 -08:00
ayntee 8167d81482 Add description for RoleData.tags
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-11-04 05:37:17 -08:00
ayntee e93eaecc4e Change type of RoleTags.premium_subscriber to null 2020-11-04 05:36:16 -08:00
Skillz 70ba80b56e remove excess 2020-11-03 15:20:10 -05:00
Skillz 46af87f898 fixes 2020-11-03 15:19:22 -05:00