Commit Graph

394 Commits

Author SHA1 Message Date
Skillz4Killz
1eca62df55 cleanup interaction helper 2021-10-12 16:15:16 +00:00
Skillz4Killz
2f971f511f some utils converted 2021-10-12 16:13:59 +00:00
TriForMine
fd758235f4 change: prettier code 2021-10-08 14:42:25 +00:00
TriForMine
8c40679036 Remove changes of helpers, will change them on another pr 2021-10-08 16:41:48 +02:00
TriForMine
dcbf0fcaaa More conversion 2021-10-08 08:05:04 +02:00
Skillz4Killz
7642eab7bd fix: prevent sending dm to bot itself #1103 2021-09-13 02:28:47 +00:00
Skillz4Killz
20e50b94fb fix: allow suppressing embeds on non bot msgs #1074 2021-09-13 01:02:06 +00:00
Niclas Egeler
de562803b4 add missing export for editSlashCommandPermissions 2021-08-30 23:02:50 +02:00
Skillz4Killz
b8a993b6b8 Merge pull request #1098 from discordeno/fix-1086
fix(helpers): upsertSlashCommands requires at least the name of the command to edit
2021-08-15 13:30:41 -04:00
ITOH
9e5bded859 fix(helpers): upsertSlashCommands needs name of the commands to edit 2021-08-15 12:03:31 +02:00
ITOH
25fe3b21be change(helpers): editMember remove unnecessary converting 2021-08-15 11:50:30 +02:00
Skillz4Killz
8fb3db5f1d Update src/helpers/members/edit_member.ts 2021-08-11 12:23:52 -04:00
rigormorrtiss
c654cae4c4 Update edit_member.ts 2021-08-09 23:40:37 +04:00
rigormorrtiss
95de95ced9 fix(helpers): pass null if options.channelId is falsy 2021-08-09 23:24:38 +04:00
itohatweb
a370a1968e change: prettier code 2021-07-09 14:58:11 +00:00
ITOH
ea0673c259 change filter logic 2021-07-08 19:54:55 +02:00
Nicholas Sylke
c44651a701 fix: export helper method in mod.ts 2021-06-20 19:21:07 -05:00
Nicholas Sylke
e49e4ab36f feat: helper method to retrieve application info 2021-06-20 19:18:05 -05:00
Skillz4Killz
8e654b4cf4 Merge pull request #1058 from discordeno/startthread
change(startThread): make messageId a seperate argument
2021-06-20 10:48:18 -04:00
ITOH
22a08d6f99 change(banMember): make options optional 2021-06-20 13:54:55 +02:00
ITOH
977e7e5ca6 change(startThread): make messageId a seperate argument 2021-06-19 19:08:45 +02:00
ITOH
b6f24cb59f add: better return 2021-06-19 17:14:53 +02:00
ITOH
dea6b1a547 fix: add await for better errors 2021-06-19 17:14:53 +02:00
ITOH
0e020fdcd8 remove: deprecated message#embed field 2021-06-19 17:14:53 +02:00
ITOH
f3353f512c add: return type 2021-06-19 17:14:53 +02:00
ITOH
5202e3f6ae remove todos 2021-06-19 17:14:53 +02:00
Skillz4Killz
15801c214b fix: thread.channelId -> thread.parentId 2021-06-19 14:34:52 +00:00
Skillz4Killz
e12c36dbad fix: type errors 2021-06-19 14:04:49 +00:00
Skillz4Killz
bf7edc1c2f change: prettier code 2021-06-19 01:00:52 +00:00
Skillz4Killz
e9a359be66 fixes 2021-06-19 01:00:09 +00:00
Skillz4Killz
96fa571091 add todo comment reminder 2021-06-18 15:48:00 +00:00
Skillz4Killz
533513f0c5 Merge branch 'more-thread-stuff' of https://github.com/discordeno/discordeno into more-thread-stuff 2021-06-18 15:47:37 +00:00
Skillz4Killz
5e4efd0f37 fix: bad channel.thread handling 2021-06-18 15:47:34 +00:00
Skillz4Killz
28122bff3b change: prettier code 2021-06-18 14:37:53 +00:00
Skillz4Killz
cf26adf0bc Merge branch 'main' into more-thread-stuff 2021-06-18 10:37:23 -04:00
Skillz4Killz
f3bddc2cb7 change: prettier code 2021-06-18 00:03:29 +00:00
Skillz4Killz
a7d11bf7bb feat: finalizing threads 2021-06-18 00:02:54 +00:00
Skillz4Killz
c63d5b9aeb Merge branch 'more-thread-stuff' of https://github.com/discordeno/discordeno into more-thread-stuff 2021-06-17 21:55:51 +00:00
Skillz4Killz
88e52c6170 fix: more bugs bugs bugs 2021-06-17 20:08:30 +00:00
Skillz4Killz
d1b4ee8047 feat: fix typo in name and add isThreadChannel 2021-06-17 18:13:54 +00:00
Skillz4Killz
21449fec64 fix: intents checking bugs 2021-06-17 18:03:32 +00:00
Skillz4Killz
43907d09a4 i love rigor 2021-06-17 16:52:47 +00:00
Skillz4Killz
3a060aaa28 comments 2021-06-17 16:52:31 +00:00
Skillz4Killz
db94a659b7 tyler is bae <3 2021-06-17 16:38:47 +00:00
Skillz4Killz
482a62f0e8 simplify start threads 2021-06-17 16:38:41 +00:00
Skillz4Killz
a8652573f4 fix: add to thread perm checks 2021-06-17 16:12:34 +00:00
Skillz4Killz
3be9877e6e Merge pull request #1049 from discordeno/fix-edit-bot-profile-avatar-url
fix: botAvatarURL is nullable
2021-06-17 10:37:51 -04:00
ITOH
dc4937f4f6 fix: botAvatarURL is nullable
null shall be passed to reset the bots avatar
2021-06-17 15:34:18 +02:00
rigormorrtiss
ddf5d9f490 add(helpers): connectToVoiceChannel() (#1048)
* feat(helpers): add joinVoiceChannel() helper

* Remove if-statement validating if channelId is present or not

* refactor(helpers): use snakelize()

* Rename to connectToVoiceChannel()

Co-authored-by: ITOH <to@itoh.at>

* Require VIEW_CHANNEL permission including CONNECT

Co-authored-by: ITOH <to@itoh.at>

* Change default value of third argument to {}

* Remove usage of Partial and mark options as optional

* Default selfDeaf to true by default

* .

* Add connectToVoiceChannel() to helpers module

* docs(helpers): add jsdoc block to connectToVoiceChannel()

* Use AtLeastOne type for options

* Default value for selfMute option

* Update src/helpers/voice/connect_to_voice_channel.ts

Co-authored-by: ITOH <to@itoh.at>

Co-authored-by: ITOH <to@itoh.at>
2021-06-16 21:02:21 +02:00
ITOH
30a5e937fe Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-06-13 21:50:29 +02:00