Commit Graph

105 Commits

Author SHA1 Message Date
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 f3a66be660 fixes 2020-11-18 09:20:36 -05:00
Skillz 7c8b85cde9 remove guild.channels 2020-11-18 00:11:22 -05:00
Skillz 3c97b29cbe Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-17 23:46:13 -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 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
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 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 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 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 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 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 cb8a9353eb add getGuild function 2020-11-13 08:29:20 -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 1fa5d08370 editBotProfile 2020-11-12 08:32:32 -05:00
ayntee efcf567db0 Resolve promise for all botHasChannelPermissions() 2020-11-06 23:16:41 -08:00
ayntee e01b141527 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-04 07:17:01 -08:00
ayntee f32f1dec14 Add moveMember function to member handler
Closes #164
2020-11-02 09:25:12 -08:00
ayyanm d471052425 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into rename-permission_overwrites 2020-10-29 12:55:35 -07:00
ayyanm 47ede28f5d Rename permission_overwrites to permissionOverwrites 2020-10-29 10:38:40 -07:00
ayyanm 10f67b090a Replace all occurrences of "import type" syntax to "import" syntax 2020-10-28 12:52:33 -07:00
ayyanm 6b19de07ff Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into unit-tests 2020-10-28 09:13:49 -07:00
Skillz b65c31dcb2 fmt 2020-10-27 12:58:27 -04:00