107 Commits

Author SHA1 Message Date
MARCROCK22
961bff0e27
feat: allow interaction server for all clients (#295)
* fix: default callbacks & cache update

* feat: allow interaction server for all clients
2024-11-14 16:37:29 -05:00
MARCROCK22
7f4044469b
fix: default callbacks & cache update (#294) 2024-11-14 13:45:14 -04:00
e4233e6a40 fix: types & workerClient#resumeShard 2024-11-10 21:51:28 +00:00
JustEvil
6c31dc0301
feat: add ignore command logic to shouldUpload method (#292) 2024-11-07 12:45:10 -04:00
Marcos Susaña
136262f989
feat(Contexts): inGuild type guard (#290)
* feat(Contexts): inGuild type guard

* feat: isEntry
2024-11-06 14:31:56 -06:00
MARCROCK22
fb26e0e42e
feat: Improve options type (#291)
* feat: improve options type

* chore: dependencies version
2024-11-06 01:21:36 -04:00
MARCROCK22
db9e319545
feat: voiceStateShorter (#286) 2024-11-03 07:05:25 -04:00
d3dee668b5 fix: appPermissions is not optional 2024-10-29 03:27:31 +00:00
c6a2b955b1 fix: handle correctly options 2024-10-26 22:27:01 +00:00
MARCROCK22
00c96e6c54
feat: allow to extend RC and localized choices (#283) 2024-10-25 10:05:42 -05: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
329ce54943 fix: required options 2024-10-13 21:33:02 +00:00
MARCROCK22
b059fa14b3
feat: option.value typing with choices (#278) 2024-10-13 14:50:57 -04:00
MARCROCK22
4a0a9ae130
fix: only edit when deferred (#276)
* fix: only edit when deferred

* fix: internal type
2024-10-12 14:28:32 -04:00
6412609e0e fix: add tests to PermissionsBitField 2024-10-06 14:33:03 +00:00
Marcos Susaña
24d316f070
feat(context): auto remove thinking when use message commands (#270) 2024-10-04 11:06:42 -06:00
Marcos Susaña
71cab8721e
Overwritting permissions for child commands (#269) 2024-10-02 18:16:16 -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
Free 公園
455ed12b0e
chore: early conditional on check permissions (#265)
* chore: early conditional

* fix: logic

Co-authored-by: Marcos Susaña <marcosjgs03@gmail.com>

---------

Co-authored-by: Marcos Susaña <marcosjgs03@gmail.com>
2024-09-20 14:04:15 -06:00
6395dd5938 fix: use .raw instead of .listRaw 2024-09-20 00:12:54 +00:00
830e9fbf5a fix: checkPermissions 2024-09-20 00:11:01 +00:00
Marcos Susaña
85b1b93131
fix(handle): checkPermissions bypass channels outside guilds 2024-09-19 16:21:35 -04:00
d388cb5553 fix: types 2024-09-15 23:51:38 +00:00
f288292208 fix: types 2024-09-15 23:33:37 +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
d8bf40b60c fix: only push error when option is required 2024-09-12 00:55:44 +00:00
0c7067f751 feat: expose filter method 2024-09-07 22:35:04 +00:00
MARCROCK22
ead838637c
feat: cache callback, actually disable cache when disabledCache is true (#263)
* feat: cache callback, actually disable cache when disabledCache is "true"

* fix: types
2024-09-07 13:46:42 -04:00
Marcos Susaña
3cb52086cb
feat(types): type AnyContext 2024-09-06 21:50:03 -04:00
JustEvil
3d36024e17
fix: truco (#258) 2024-08-29 20:30:18 -04:00
Marcos Susaña
f5a8d06d8b
fix: commands assignament 2024-08-29 15:34:58 -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
4986bb4603 fix: biome 2024-08-17 02:38:51 +00:00
07340a98bb feat: slipher 2024-08-17 02:36:27 +00:00
966a157547 fix: socram code 2024-08-03 00:05:39 +00:00
Marcos Susaña
992a117bbc
fix: fetch bot member permissions in prefix commands 2024-08-02 14:37:17 -04:00
Marcos Susaña
5e4a7e2792
A way to set values in handlers (#228)
* fix: handlers seteables values

* fix: fix

* fix: reload throw error in cw
2024-07-29 17:55:03 -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
NoBody
38c2b4ee9f
Fix error in Middlewares (#219)
* fix: indexAttachment bug in handleCommand

* fix: return false instead of early return on runGlobalMiddlewares
2024-07-11 21:26:17 -04:00
NoBody
804423f2a1
fix: indexAttachment bug in handleCommand (#218) 2024-07-07 10:15:44 -04:00
eb1a999c45 feat: handleCommand update 2024-07-02 21:16:54 +00:00
0be7c73d4a feat: check for locales 2024-06-28 05:58:30 +00: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
Marcos Susaña
0c5e874bbd fix: guild member user error 2024-06-10 16:21:31 -04:00
37dfaef407 fix: types and props 2024-06-07 16:52:05 +00:00
71763d11d9 fix: console.log 2024-06-06 02:04:46 +00:00