87 Commits

Author SHA1 Message Date
d3dee668b5 fix: appPermissions is not optional 2024-10-29 03:27:31 +00:00
3efe66bf5e feat: workerManager#tellWorker 2024-10-19 05:42:13 +00:00
MARCROCK22
56246ed5cf
onRatelimit callback & GuildCommandContext types(unnreaal update) (#279)
* feat: type GuildCommandContext, onRatelimit callback

* fix: test

* fix: use reduce
2024-10-13 21:48:20 -04:00
6412609e0e fix: add tests to PermissionsBitField 2024-10-06 14:33:03 +00:00
c6e0a8fc85 fix: socram code 2024-10-06 13:37:13 +00:00
Marcos Susaña
71cab8721e
Overwritting permissions for child commands (#269) 2024-10-02 18:16:16 -04:00
Free 公園
dd8fbd2789
fix: modals execution without .run (#268)
* fix: modals execution

* fix: lol
2024-09-28 11:42:47 -04:00
MARCROCK22
13b8a32d42
fix rest types, collectors update, improve types (#266)
* feat: ctx types, delete threads cache, cache.channels.threads, changes to collectors, fix rest types

* fix: use apithreadchannel instead

* feat: revert threads relationship, fix collectors

* fix: cache thread when creating

* fix: unused

* feat: entitlement trasnformer

* fix: non-null assertion

* fix: circular?

* fix: collector onStop reason type

* fix: types

* feat: onPass method

* fix: undefined value
2024-09-27 22:08:50 -05:00
06617ff1ce feat: voiceState#channel type 2024-09-19 04:04:31 +00:00
ee135a2667 fix: typescript 5.6 2024-09-15 20:13:14 +00:00
a355d843ad chore: organize imports 2024-09-15 19:52:43 +00:00
3245291121 fix: actually using biome 2024-09-15 19:02:13 +00:00
a1b0c20a30 fix: add return 2024-09-08 03:49:13 +00:00
Marcos Susaña
29f7b769e1
feat: polls improvement (#249)
* feat: polls improvement

* fix: poll in editOrReply

* feat(api-types): type APIEmbedPollResult

---------

Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
2024-09-04 17:33:24 -04:00
0c1ef3777f fix: types 2024-08-28 01:40:13 +00:00
Marcos Susaña
a9d14c4c01
feat: Entry Points (#256)
* feat: entry points types

* fix: update attachment

* feat: more types and command

* chore: apply formatting

* feat: entry interaction

* chore: apply formatting

* feat: entry commands

* feat: end

* fix: build

* fix: typing

* fix: entry point in handler

* fix: build

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-27 21:18:16 -04:00
Marcos Susaña
498c66efdb
feat(Guild): get shard methods (#254)
* feat: guild shard

* fix: worker client

* fix: xd
2024-08-25 01:18:39 -04:00
JustEvil
d9aa4a56d0
refactor: moved functions (#252)
* refactor: moved functions
- Moved functions
- Fixed imports
- Removed duplicated file

* chore: apply formatting

* fix: import
2024-08-22 17:32:55 -04:00
5b6cb6ece6 feat: fetch guild role 2024-08-21 15:13:48 +00:00
Marcos Susaña
ca390bd47a
fix: bitfield resolve (#244) 2024-08-19 11:12:19 -04:00
07340a98bb feat: slipher 2024-08-17 02:36:27 +00:00
JustEvil
a4574c51ae
fix: id truco (#241) 2024-08-16 17:18:37 -04:00
Marcos Susaña
d6ff9767a1
feat: http voice states (#235)
* feat: http voice states

* fix: ups

* fix: typo

* fix: structure
2024-08-07 20:26:47 -04:00
942dbd12bf fix: guard types 2024-08-04 02:28:24 +00:00
e6f94d409d fix: socramcode 2024-08-03 03:26:04 +00:00
f487072ced fix: socramcode 2024-08-03 02:27:16 +00:00
MARCROCK22
34216bd066
feat: new ws & member's banner (#232)
* feat: new ws & member's banner

* fix: comments
2024-08-01 22:45:13 -05:00
Marcos Susaña
11c72e66f6
feat: monetization (#227)
* feat: monetization

* chore: apply formatting

* fix: query list entitlements
2024-07-27 22:05:18 -04:00
Marcos Susaña
cd445b19b2
chore: remove ts-mixer dependency (#223)
* feat: mixer

* feat(api): allow token in proxy options

* feat(member): timeout's

* chore: apply formatting

* fix: xd?

* fix: timeout reason

* fix: hasTimeout getter

* feat: mixer...

* fix: setter

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-24 21:41:24 -04:00
Marcos Susaña
bd951397a2
feat: Reduce dependencies (#221)
* feat: add support for new Discord application emojis features

* feat: add support for new Discord application emojis features

* feat: applications emojis routes

* chore: switch typings provider

* fix: unnecesary type

* feat: magic bytes

* chore: move api-types

* chore: ?

* fix: omg npm

* chore: apply formatting

* fix: for fast merge

---------

Co-authored-by: Tony Supremacy <165050835+VanStk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-21 22:58:40 -04:00
Marcos Susaña
3c66dd899f
fix: bad typing 2024-07-09 20:02:31 -04:00
Marcos Susaña
02f08c5bff
fix: guild edit 2024-07-09 18:15:53 -04:00
Marcos Susaña
ddc6dab0db
fix: embeds (#215) 2024-06-26 18:40:19 -04:00
Marcos Susaña
ef5370462b
feat(VoiceState): setSuppress, requestSpeak (#212)
* feat: setSuppress, requestSpeak

* fix: assing

* fix: never

* fix: set request timestamp
2024-06-24 15:21:11 -04:00
Marcos Susaña
026805bcb2
Seyfert 2.0 (#208)
* feat: permissible handlers

Co-authored-by: MARCROCK22 <MARCROCK22@users.noreply.github.com>

* feat: init handle command

* feat: unifique interaction/message (not full tested)

* fix: await

* fix: components handler

* fix: console.log

* feat: init transformers

* fix: xd

* fix: check

* chore: apply formatting

* chore: frozen-lockfile

* fix: use pnpm v9

* fix: use pnpm v9

* fix: guildCreate emits when bot has more than 1 shard

* feat: update cache adapter

* fix: types

* fix: limitedAdapter messages and bans support

* fix: yes

* feat: transformers (huge update)

* fix: pnpm

* feat: transformers & handleCommand methods

* feat(resolveCommandFromContent): for handle content of getCommandFrom Content and argsContent

* fix: use raw

* fix: consistency

* fix: return await

* chore: export transformers

* fix: socram code

* fix: handleCommand & types

* fix: events

---------

Co-authored-by: MARCROCK22 <MARCROCK22@users.noreply.github.com>
Co-authored-by: MARCROCK22 <marcos22dev@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: douglas546899 <douglas546899@gmail.com>
Co-authored-by: Aarón Rafael <69669283+Chewawi@users.noreply.github.com>
Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
2024-06-20 20:59:55 -04:00
David
017ccfc3bf
fix: github actions (#210)
* fix: github actions

* fix: pnpm version

* fix: github actions checkout

* fix: brackets in failure function

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* chore: apply formatting

* fix: github actions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-14 14:23:58 -04:00
Xeno
20bb778722
chore: improve toString output with newly added formatters (#209)
* chore: improve toString output with newly added formatters

* fix(missingParameter): added emoji name as a parameter

---------

Co-authored-by: NotAditya69 <90441096+NotAditya69@users.noreply.github.com>
2024-06-12 07:49:42 -04:00
Marcos Susaña
0c5e874bbd fix: guild member user error 2024-06-10 16:21:31 -04:00
Xeno
390953082b
feat: guild bans, formatter and minor functionality changes. (#203)
* fix(Colors#bold): bold returning weird values

* chore: testing something

* fix(Parsers): optionsParser & argsParser were being overriden by default options

* revert(colors): mistakenly pushed a unplanned change

* feat(Formatter): add a formatter class to add support to discord markdown, unix and etc

* chore: set exports for formatter class

* feat(AllGuildVoiceChannels): new type for all guild based voice channels

* feat(VoiceChannel#members): returns a list of members in the voice channel

* chore: small patch to voice channel methods

* feat(GuildBans): addition of bans into seyfert

* chore: request changes - incomplete

* fix(BanShorter#bulkCreate): fix method return, bulk-bans returns stats

* feat(GuildBan#methods): all methods added on the guild ban structure

* chore: missed some, here pushed them

* chore: requested change

---------

Co-authored-by: NotAditya69 <90441096+NotAditya69@users.noreply.github.com>
2024-06-10 04:18:54 -04:00
5f61e8e66b fix: message structure types 2024-06-02 15:37:45 +00:00
d2157e7324 feat: optimize code & implement onRunError and onStopError in collectors & use Promise.all 2024-06-02 14:33:44 +00:00
Free 公園
3850ef38a6
Merge pull request #199 from socram03/fix/embeds
fix: embeds in messages
2024-06-01 21:55:50 -05:00
Marcos Susaña
20726ba041 fix: embeds in messages 2024-06-01 16:43:05 -04:00
0fd02117ce feat: remove dynamicAvatarURL, option exclude added in GuildMember#avatarURL 2024-06-01 17:42:26 +00:00
482de42b28 fix: support AttachmentBuilder when creating a sticker 2024-05-30 20:12:22 +00:00
Xeno
00640bfda7
feat: new changes to avatarURL method over GuildMember & User (#194)
* fix(GuildMember#avatarURL): use dynamic response, to return gif avatar if the avatar is a gif

* fix(User#avatarURL): dynamic response, if avatar is a gif return gif

* fix(avatarURL): specified extension is being overriden by gif if avatar starts with a_

* chore: change in parseCDNURL so it's effective for almost everything

* chore: re-add GuildMember#dynamicAvatarURL

* fix(GuildEmoji#create): returns void while it should return the resolve promise of the created emoji

---------

Co-authored-by: NotAditya69 <90441096+NotAditya69@users.noreply.github.com>
2024-05-30 15:17:59 -04:00
Marcos Susaña
c409628a43
chore: updates (#195) 2024-05-28 09:19:35 -04:00
MARCROCK22
006a9f390f feat: send attachments option by default 2024-05-25 13:18:43 -04:00
MARCROCK22
9dec8e50eb feat: shouldUploadCommands 2024-05-12 21:40:27 -04:00
MARCROCK22
2fe113086e feat: before and after state 2024-05-11 23:29:28 -04:00