ITOH
4adf11b7b7
feat(handlers/guild): add getWidget() & getWidgetImageUrl() ( #420 )
...
* feat(handlers): more get Widget functoins
* forgot image jsdoc
* only needed inside if
* Update mod.ts
* move inside if
* gonna do that
* Update src/api/handlers/guild.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2021-03-08 20:41:46 +04:00
ITOH
2c3692810d
refactor(structures): rename create* functions ( #395 )
...
* structures: rename structure create functions
* fix: errors occured because of structure rename
* fix(controllers): errors occured because of structure rename
* fix
* fix createServer to createGuild rename
* rename create*structure to create*Struct
* update docs
* Phew
* rename createguildrole
* fix that
* fmt?
* idk
* why
* fixxess
* Update member.ts
* Update member.ts
* ahh found it
* revert this
* Update mod.ts
Co-authored-by: ayntee <ayyantee@gmail.com >
2021-03-08 20:37:06 +04:00
ITOH
42c743421b
refactor(handlers/guild): rename guild widget functions ( #386 )
...
* Update guild.ts
* Update guild.ts
* this should be named getWidgetSettings
* update mod imports
2021-03-08 18:51:12 +04:00
ITOH
c3d7235918
feat(handlers): add getMembers() ( #412 )
...
* Update guild.ts
* add types
* forgot to import
* review things
* Update mod.ts
* Apply suggestions from code review
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* remove redundant code
* Update guild.ts
* Paginate
* remove extra ()
* dont log if limit is < 1000
* thats unnecessary too
* Update guild.ts
* add sugg
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2021-01-27 18:57:49 +04:00
ITOH
1c6d5a60e0
feat(handlers): add upsertSlashCommands() ( #442 )
...
* feat(handlers): add bulk upsert commands function
* Update mod.ts
* add jsdoc
* add ID info
* ID is optional
* Update webhook.ts
* use //@ts-ignore
* idk
2021-01-24 22:41:28 +04:00
ITOH
51387c5705
refactor(util): COMMANDS_GUILD_ID constant arg order ( #440 )
...
* fmt
* refactor(util): change arg order for COMMANDS_GUILD_ID
* refactor(handlers): change arg order for COMMANDS_GUILD_ID
* feat(handlers): add getSlashCommand function
* Update mod.ts
* remove that
2021-01-24 15:12:40 +04:00
ITOH
8d8c792747
feat(handlers): add getInvite() & deleteInvite() ( #421 )
...
* feat(handlers): add getInvite
* feat(handlers): add deleteInvite
* remove deving things
* add jsdoc
* move functions up
* import got deleted
* feat(handlers): invite better types
* throw enum error
* remove unnecessary checks
* Update mod.ts
* channel exists since botHasChannelPermissions did not throw any error
2021-01-23 23:33:12 +04:00
ITOH
55235e5ea0
feat(handlers): add getTemplate() ( #422 )
...
* feat(handlers): getTemplate
* update jsdoc
* redirect this function
* remove getGuildTemplate
* Update src/api/handlers/guild.ts
Co-authored-by: Ayyan <ayyantee@gmail.com >
* remove breaking change
* save in const
* Update src/api/handlers/guild.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* Update src/api/handlers/guild.ts
* Update src/api/handlers/guild.ts
* Update mod.ts
Co-authored-by: Ayyan <ayyantee@gmail.com >
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2021-01-23 23:17:50 +04:00
ITOH
f6f435bb1f
feat(handlers): add getAvailableVoiceRegions() ( #425 )
...
* add voice endpoint
* feat(handlers): add getVoiceRegions
* Update mod.ts
* remove breaking changes
2021-01-23 23:17:11 +04:00
ITOH
76e0395319
fix(handlers): add missing handlers ( #436 )
2021-01-23 23:13:06 +04:00
Ayyan
e49a23687e
refactor!: organize directories and files ( #268 )
...
* refactor!: organize directory structure
* fix: avoid stack overflow err
* chore: swtch back to std/encoding for base64
* style: format source files
2020-12-22 21:26:27 +04:00