82 Commits

Author SHA1 Message Date
Xeno
4052cb2a53
feat(common): Formatter#generateOAuth2URL - addition of a new method for creating discord oauth2 links (#284) 2024-11-01 16:14:22 -04:00
c6a2b955b1 fix: handle correctly options 2024-10-26 22:27:01 +00:00
424970494b feat: logger#customizeFilename 2024-10-13 23:30:35 +00:00
Mohtasim Alam Sohom
2912296d96
refactor: optimize the resolveColor function for better perfomance (#273)
* refactor: optimize the resolveColor function for better perfomance

* refactor: optimize the resolveColor function even further for higher number of iterations

* format: fix code formatting

* just use if(lookupColor)
2024-10-06 17:23:53 -04:00
MARCROCK22
5926b4df15
feat(WorkerManager): resharding support (#271)
* feat: workerManager resharder

* fix: changes
2024-10-05 19:01:37 -04:00
Marcos Susaña
44c872de71
feat: Soundboard API (#267)
* feat(discord): soundboard api

* chore: apply formatting

* fix(gateway): events

* feat(events): soundboard

* chore: apply formatting

* fix: xd

* feat(api): soundboard routes

* chore: apply formatting

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
2024-10-01 10:57:44 -06: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
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
041db86ac2 fix: send undefined instead of an empty array 2024-09-12 00:42:11 +00:00
751f9cedb2 feat: makeDeepPartial type 2024-09-09 02:49:16 +00:00
3374252a36 fix: resharder 2024-09-09 02:29:57 +00:00
a1b0c20a30 fix: add return 2024-09-08 03:49:13 +00:00
0c7067f751 feat: expose filter method 2024-09-07 22:35:04 +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
Marcos Susaña
0cef3a9f6f
fix(Watcher): partial types 2024-09-02 18:01:34 -04:00
0c1ef3777f fix: types 2024-08-28 01:40:13 +00: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
b30b6dde24 chore: move Watcher to extra monorepo 2024-08-17 16:51:28 +00:00
4986bb4603 fix: biome 2024-08-17 02:38:51 +00:00
07340a98bb feat: slipher 2024-08-17 02:36:27 +00:00
9066f510e3 fix: ws reconnect 2024-08-11 23:43:33 +00: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
Marcos Susaña
2f1ba85a94
fix: application shorter 2024-07-27 22:55:23 -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
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
9e0586986d feat: cache raw methods 2024-07-02 21:53:00 +00:00
1ee3edfc5b feat: cache#testAdapter 2024-06-24 21:01:14 +00:00
1cb4ab4a46 fix: mergeOptions & types 2024-06-22 01:09:12 +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
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
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
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
0dbb331e71 fix: use emojis cache 2024-05-25 16:22:21 -04:00
MARCROCK22
d06cd2e847 fix: return emoji 2024-05-25 16:19:09 -04:00
MARCROCK22
006a9f390f feat: send attachments option by default 2024-05-25 13:18:43 -04:00
MARCROCK22
52e03c2cb0 feat: useUWS httpConnection option 2024-05-12 16:07:26 -04:00
MARCROCK22
9f228259a2 fix: i hate cf workers 2024-05-08 22:16:27 -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
MARCROCK22
c67bf0f7b2 fix: xd 2024-04-30 17:01:19 -04:00
MARCROCK22
9f8bec917b fix: destructuring modal 2024-04-30 16:56:13 -04:00