66 Commits

Author SHA1 Message Date
JustEvil
a74452d0a0
fix: removed really necessary locations (#312)
* fix: removed really necessary locations

* fix: use 'base' instead of 'output'
2024-12-25 00:45:22 -04:00
1e0d1f3f6b fix: allowed_mentions types 2024-12-13 00:13:51 -04:00
bad33536b9 fix: clean code 2024-12-10 13:10:34 -04:00
Marcos Susaña
4bad71399a
[skip ci] bot up (#304)
* Add a bot startup (bro scared of circulars) (#303)

* fix(channels): correct return type of mixin functions

* feat: startup bot in test

* fix: build

* fix: ?

* fix: ??

* ci(bot-up): update conditional
2024-12-10 09:24:00 -04:00
2c9d199c7d feat: soundboard shorter 2024-11-18 23:12:12 -04:00
dfffdf1f00 fix: remove protected 2024-11-14 19:24:45 -04:00
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
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
4f8c1d09c7 fix: use interface instead of intersection 2024-10-26 00:30:25 +00:00
MARCROCK22
00c96e6c54
feat: allow to extend RC and localized choices (#283) 2024-10-25 10:05:42 -05: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
3245291121 fix: actually using biome 2024-09-15 19:02:13 +00:00
David
23c23156e6
feat: improve config error message (#264) 2024-09-15 11:53:39 -04:00
fcd9ffd34d fix: reuse proxy 2024-09-15 06:00:46 +00:00
364148ccf7 fix: unused 2024-09-07 22:29:06 +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
baa78422ec
chore: disabled all cache 2024-09-06 22:21:42 -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
285ec140a0 fix: only cache config on cf workers 2024-08-20 02:08:38 +00:00
MARCROCK22
b0e10fd4a9
feat: use an object instead of an array to disable cache & option to disable cache on events (#245) 2024-08-19 22:03:52 -04: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
11c72e66f6
feat: monetization (#227)
* feat: monetization

* chore: apply formatting

* fix: query list entitlements
2024-07-27 22:05:18 -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
0be7c73d4a feat: check for locales 2024-06-28 05:58:30 +00:00
David
f05ba46b3a
feat: support .cjs, .mjs, .ts, .mts and .cts extensions in seyfert.config file (#214)
* refactor: update import statement in sharder.ts

* feat: support .mjs and .ts extensions in seyfert.config file

* feat: support .cts, .mts and .cjs extensions in seyfert.config
2024-06-26 19:00:00 -04:00
ad5edad727 feat: cachePath in uploadCommands 2024-06-24 21:08:28 +00:00
Marcos Susaña
6547f71b1f
fix: lang handler (#213) 2024-06-24 15:17:15 -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
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
f3b8e3b67d feat: extraProps 2024-06-06 01:57:26 +00: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
5a53883905 feat: getRC client option 2024-05-18 16:03:33 -04:00
MARCROCK22
9dec8e50eb feat: shouldUploadCommands 2024-05-12 21:40:27 -04:00
MARCROCK22
52e03c2cb0 feat: useUWS httpConnection option 2024-05-12 16:07:26 -04:00
MARCROCK22
2fe113086e feat: before and after state 2024-05-11 23:29:28 -04:00
MARCROCK22
69867d22ca feat: componentcommand & modalcommand default methods 2024-05-10 23:29:29 -04:00
MARCROCK22
44b0a6354f fix: apply extendContext to ModalContext 2024-05-10 21:22:59 -04:00
MARCROCK22
3b2cbd3089
Feat: cloudfare workers support (#190)
* feat: cloudfare workers

* fix: chokidar

* fix: handlers

* fix: lazyLoadPackage
2024-05-07 16:53:10 -04:00
MARCROCK22
6110337704 feat: allowedMentions client option 2024-05-01 17:14:08 -04:00
Marcos Susaña
20088e9275
feat: Interactions shorters (#187)
* feat: threads methods

* fix: typing

* fix: fixes

* feat: interaction shorter

* fix: files in followup
2024-04-19 14:37:43 -04:00
Marcos Susaña
773c0a38c7
feat: thread methods and shorter (#184)
* feat: threads methods

* fix: typing

* fix: fixes
2024-04-16 15:07:11 -04:00
MARCROCK22
aa26766b38 fix: onInternalError default 2024-04-14 17:07:42 -04:00