Commit Graph

69 Commits

Author SHA1 Message Date
Skillz4Killz 6437274958 fix: members intent fetching (#229)
* fixes fetchMembers #223

* Update guild.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>
2020-12-10 19:27:17 +04:00
ITOH 56aaef3d2f Replace bit perm calculating with function 2020-12-09 21:09:21 +01:00
ITOH 7bdbcb76d6 refactor: centralize types (#235)
* Centralize types and structures

* Resolve Conflict

* Update cache.ts
2020-12-08 22:23:36 +04:00
Skillz4Killz edc86559fc Merge branch 'master' of https://github.com/discordeno/discordeno into next 2020-12-07 18:42:44 +00:00
ITOH 69e7abdd78 style: format source files 2020-12-07 11:21:05 +01:00
Skillz4Killz 1eccf8aa05 Update guild.ts 2020-12-06 14:34:29 -05:00
Ayyan d745457b6e Make linter happy :) 2020-12-05 12:07:36 +04:00
Ayyan 747858437f Update guild.ts 2020-12-04 20:20:49 +04:00
Ayyan dbb0feabd6 Update guild.ts 2020-12-04 20:06:46 +04:00
Ayyan 5bf843b595 feat: better return type/value for createServer() 2020-12-04 20:05:01 +04:00
ayntee fdcd9ca668 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-27 10:14:07 -08:00
TheBlueOompaLoompa 1a4fe647e4 Fix spelling error in guild.ts
Fixed the extra uppercase letter in the comment for unban.
2020-11-25 20:45:47 -06: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
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
Skillz a3d0c02d67 fmt 2020-11-13 12:24:04 -05:00
Skillz cb8a9353eb add getGuild function 2020-11-13 08:29:20 -05: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
chroventer 6c8a421c83 Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into unit-tests 2020-10-26 09:41:10 -07:00
Skillz 954f8304c2 fmt fixes 2020-10-03 12:43:27 -04:00
chroventer f08b767390 Fix merge conflicts 2020-10-02 02:44:52 -07:00
chroventer 3fab966208 Organize imports (#127)
* Organize imports

* Organize imports
2020-10-02 01:35:48 -07:00
Skillz 5cae8f2627 fix edit role bug 2020-10-01 09:05:20 -04:00
Skillz f02a4b97af Merge branch 'v9' of https://github.com/Skillz4Killz/Discordeno into v9 2020-09-24 13:23:05 -04:00
Skillz 8f39ac7434 add deleteserver 2020-09-24 13:23:01 -04:00
Skillz4Killz 2c8d9ec65a Merge pull request #108 from chroventer/leave2leaveGuild
Rename leave() to leaveGuild() to remove ambiguity
2020-09-24 13:02:22 -04:00
chroventer 305b837a0b Rename leave() to leaveGuild() to remove ambiguity 2020-09-24 09:29:44 -07:00
Skillz 77b8dde667 create server 2020-09-24 12:03:43 -04:00