Commit Graph

1203 Commits

Author SHA1 Message Date
Skillz
be98dcbfa5 fix default avatars 2021-01-14 12:21:46 -05:00
Ayyan
9ca916d263 ci(test): run workflow on label assignment (#365)
* ci(test): run workflow on label assignment

* ci(test): remove paths
2021-01-10 22:22:46 +04:00
Ayyan
0883295e69 ci(test): run workflow on label assignment (#364) 2021-01-10 22:20:24 +04:00
Skillz4Killz
cc21a500ad Update misc.ts 2021-01-09 16:10:19 -05:00
Skillz4Killz
5b01d331a2 Update misc.ts 2021-01-09 16:09:56 -05:00
Skillz4Killz
cd0347a5e1 feat: standalone rest server (#290)
* feat: standalone rest server

* desc

* fmt

* <3 vlad

* Update src/rest/README.md

Co-authored-by: Ayyan <ayyantee@gmail.com>

* Update src/rest/README.md

Co-authored-by: Ayyan <ayyantee@gmail.com>

* Update README.md

* Update src/rest/deps.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

* Update src/rest/queue.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

* chore: ignore no-explicit-any rule

* fix(rest): replace with correct import paths

* deno fmt

* fixes

* fmt

* use user agent cons

* fix typings

* Update src/rest/cache.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

* Update src/rest/cache.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>

Co-authored-by: Ayyan <ayyantee@gmail.com>
2021-01-09 21:53:14 +04:00
Ayyan
27fb44128f refactor: replace "return await" (#354) 2021-01-09 21:48:02 +04:00
Ayyan
cd7973273e fix(misc): check whether guilds' loaded every 2s (#353)
* fix(misc): check whether guilds' loaded every 2s

* unavailable_guilds -> guilds

* guilds -> unavailable_guilds

* Separate unavailable guild  type

* Clean up and apply suggested changes
2021-01-09 21:39:25 +04:00
Ayyan
e5a8f3b358 chore: setup "deno lint" (#331)
* chore: setup "deno lint"

* ci(lint): add --unstable flat to lint script

* lint

* lint

* refactor: destructure assignment for Message#guildID

* chore: remove TODO comment

* refactor: remove redundant async

* chore: switch to Deno stable vscode ext

* chore: remove ignore comments

* chore: remove ignore comments

* chore: remove @ts-ignore comment

* fixes

* fixes

* chore: remove deno-lint-ignore comment

* chore: add index signature
10.0.2
2021-01-03 20:12:42 +04:00
Ayyan
55f68a242d types(structures): add return type for methods (#341) 2021-01-03 19:12:13 +04:00
ayntee
22011b4227 docs: update version to latest 2021-01-03 16:35:32 +04:00
ayntee
34db3f8f38 docs: change features order 2021-01-03 16:33:33 +04:00
ayntee
ca00014deb docs: support server -> Discord 2021-01-03 16:30:11 +04:00
ayntee
43eda057f9 chore: add desktop.ini to .gitignore 2021-01-03 16:22:10 +04:00
Oscar Wos
a72432f7f3 types(message): add APPLICATION_COMMAND to MessageTypes (#340) 2021-01-03 09:12:27 +04:00
Skillz4Killz
2d1690a355 Merge pull request #332 from discordeno/patch3
fix: outdated pin & unpin handlers and endpoints
2021-01-02 12:49:44 -05:00
Skillz4Killz
188bc0200d Merge pull request #330 from discordeno/patch2
fix: replace incorrect check for GUILD_UPDATE controller
2021-01-02 12:49:10 -05:00
Skillz4Killz
330ccbb278 Merge pull request #334 from discordeno/fix-role-type
fix(RoleData): "tags" property can be undefined not null
2021-01-02 12:48:41 -05:00
ayntee
b351fe0a90 fix(RoleData): "tags" property can be undefined not null 2021-01-02 19:09:15 +04:00
ayntee
32c3306bf0 fix: outdated pin & unpin handlers and endpoints 2021-01-02 17:10:18 +04:00
ayntee
c10ef62c6c fix: replace incorrect check for GUILD_UPDATE controller 2021-01-02 13:36:15 +04:00
Ayyan
ae9e14bf25 fix: separate event for APPLICATION_COMMAND_CREATE (#322)
* fix: separate event for APPLICATION_COMMAND_CREATE

* Change the name of the event

* Revert "Change the name of the event"

This reverts commit dc6744ed9f.

* Remove payload variable

* idk
2021-01-02 09:26:57 +04:00
ayntee
13cce6bf4f ci: add mod.ts, tests directory to paths 2021-01-01 14:27:12 +04:00
Ayyan
c346bd5eae ci: trigger workflow only when certain files are modified (#316) 2021-01-01 14:24:24 +04:00
Ayyan
9e7f01341d chore: update LICENSE.md (#315) 2021-01-01 14:24:04 +04:00
ayntee
0e6d7db59c docs: remove releasenotes.md 2021-01-01 11:20:02 +04:00
Skillz4Killz
8f3cb4e179 Merge pull request #314 from Mito6211/patch-1
Fixed typo
2020-12-31 16:27:56 -05:00
Mito
e4125820d7 Fixed typo
"Let's set it to to 5" -> "Let's set it to 5"
2020-12-31 15:25:31 -05:00
Ayyan
8c9a075d30 fix: channels, presences, voiceStates can be undef (#301)
* fix(Guild): presences and voiceStates can be undef

* fix: handle undef Guild#voiceStates

* fix: channels, presences, voice_states can be undef

* Revert "fix: handle undef Guild#voiceStates"

This reverts commit ddd3c32e21.
10.0.1
2020-12-31 19:52:07 +04:00
Ayyan
6e1afa13a4 docs(handlers): add jsdoc comment block (#313)
* docs(handlers): add jsdoc comment block

* style: format files
2020-12-31 19:51:42 +04:00
ayntee
3d7d2e9f16 ci: pass explicit permission flags 2020-12-31 15:01:54 +04:00
Ayyan
17720a4e46 ci: use setup-deno@v2 (#305) 2020-12-31 11:41:33 +04:00
Ayyan
02c0466760 fix: remove role from coll after the event (#304)
* fix: remove role from coll after the event

* fix: check if cachedRole is not nil

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2020-12-31 11:41:17 +04:00
TriForMine
d53725d069 fix: use correct bitwise operator (#302)
* Fix permissions (sorry my ide changed & to &&)

* Change botHasChannelPermissions to async.
This seems to have fixed my issue for my bot

* Remove async for botHasChannelPermissions

* Add async back for botHasChannelPermissions since it doesn't work without it

* Remove async, the issues were something else apparently
2020-12-30 17:35:39 +04:00
TriForMine
484f86638f refactor: resolve async promises, fixed typos, and used inline variable for return (#299)
* Added await in async function, fixed typos and used inline variable for return

* Added await in async function, fixed typos and used inline variable for return

* Revert "Added await in async function, fixed typos and used inline variable for return"

This reverts commit f31caf5d

* Added await in async function, fixed typos and used inline variable for return

* Fixes format

* Fixes format 2

* Fixes format 4475757

* Fixes format 878757854786312378657865785785785785

* Change return to await

* Fixing more issues

* Fixing even more issues

* Fixing even more issues +

* Fixes format
2020-12-30 12:31:11 +04:00
Ayyan
6d7aa35d9c ci: run "Test" workflow on push and pull_request (#294) 2020-12-28 22:50:16 +04:00
ayntee
4e2e139f73 Update releasenotes.md 2020-12-28 20:10:31 +04:00
ayntee
02f240baa8 docs: add releasenotes.md 2020-12-28 20:01:56 +04:00
Skillz4Killz
63a9527040 Merge pull request #283 from oh-simple/code-1
add: vscode settings
2020-12-27 15:01:08 -05:00
ITOH
95e27b1267 Add settings back 2020-12-27 20:59:03 +01:00
Skillz
7cce1fab18 fmt 10.0.0 2020-12-27 13:26:19 -05:00
Skillz
8e92047845 allow optional easier 2020-12-27 13:10:36 -05:00
Skillz
156347c2fa fix: small typos 2020-12-27 12:39:23 -05:00
Skillz
dc23f30161 add message.channel 2020-12-27 12:11:08 -05:00
Skillz
727d07d25e fix message timestamp typing 2020-12-27 11:32:00 -05:00
Skillz
108142f025 rework message sending getters 2020-12-27 11:27:30 -05:00
Skillz
cbde2943ca add member.tag 2020-12-27 11:22:15 -05:00
Skillz
9230500993 fix member 2020-12-27 11:19:43 -05:00
Skillz
604a714b14 tiny fixes 2020-12-27 11:15:17 -05:00
Skillz
c9dc3623f0 fix 2020-12-27 11:11:18 -05:00