Commit graph

107 commits

Author SHA1 Message Date
Raphael
2c09ecf9c3 refactor(event/client): guildCreate now removing the unused err param in catch 2025-12-05 12:25:02 +01:00
Raphael
6b2876e514 fix(commands/administration): now the interaction will not reply if the channel is deleted
The interaction will send a message at the start of the command's
execution and a confirmation message at the end (only if the channel is
still here)
2025-12-05 12:25:02 +01:00
Raphael
0afccf3735 feat(event/guild): creation of the event guildMemberRemove
This event will:
  - Send the welcome message (setup on the welcome command)
  - Send the logs message (setup on log in logMember)
2025-11-25 15:25:44 +01:00
Raphael
031055e09c feat(event/guild): creation of the event guildMemberAdd
This event will:
  - Send the welcome message (setup on the welcome command)
  - Send the logs message (setup on log in logMember)
2025-11-25 15:25:44 +01:00
Raphael
9cf864f56e feat(event/guild): adding the timestamp on the log 2025-11-25 15:25:44 +01:00
Raphael
96dabb6693 feat(event/client): adding the timestamp on the log 2025-11-25 15:25:44 +01:00
Raphael
536b33ba64 style(events/client): editing the embed send to the buyer on guildDelete
- The embed now will take the footer
2025-11-25 15:25:44 +01:00
Raphael
4898b19afb style(events/client): editing the embed send to the buyer
- The embed now will take the footer
2025-11-25 15:25:44 +01:00
Raphael
dc1c048f78 feat(events/client): adding the client import on the ready event 2025-11-25 15:25:44 +01:00
Raphael
a8a1815287 feat(event/messages): adding the timestamp on the log 2025-11-25 15:25:44 +01:00
Raphael
2fdff650cc feat(lib): adding the info log 2025-11-25 15:25:44 +01:00
Raphael
9493cb7cd9 feat(lib): The placeholder handler is now part of the lib 2025-11-25 15:25:44 +01:00
Raphael
d447937c1b feat(lib): adding the getUserRoles function in lib
- Needed by other modules so terminated on the lib
2025-11-25 15:25:44 +01:00
Raphael
5b6f5b2ea9 refactor(commands/modertation): nuke's fetch in a single line 2025-11-25 15:25:44 +01:00
Raphael
e5dda46040 fix(commands/administration): now catching if the modal failed 2025-11-25 15:25:44 +01:00
Raphael
4b9124f562 feat(commands/administration): adding the value of the old value
- Allow to correct only and not re-type everything
2025-11-25 15:25:44 +01:00
Raphael
9d50717163 refactor(commands/administration): adding the function list placeholder
- Permit to change all information in only on function
2025-11-25 15:25:44 +01:00
Raphael
7061a98373 feat(commands/administration): adding the welcome show command 2025-11-25 15:25:44 +01:00
Raphael
0db6014b72 fix(commands/administration): Using the prisma type for prisma call
- changed the User / Guild into UserPrisma / GuildPrisma
2025-11-25 15:25:44 +01:00
Raphael
e32e824c48 fix(commands/administration): using the new prisma field 2025-11-25 15:25:44 +01:00
Raphael
06bd5d5cf3 feat(commands/administration): adding the leave module to welcome command 2025-11-25 15:25:44 +01:00
Raphael
5fde8a07b6 feat(commands/administration): Adding the start of the welcome command 2025-11-25 15:25:44 +01:00
Raphael
009486be98 style(administration/logs): the emoji for the logs configuration 2025-11-25 15:25:44 +01:00
Raphael
e6d1a1406e refactor(commands/utils): now info will use the pwn emoji
Changing the name of the pwn emoji previously dash
2025-11-25 15:25:44 +01:00
Raphael
5f737a2576 style(commands/utils): Translate the role configuration
- Yes maybe one day will do the english and french configuration planed
once the bot will be functionnal
2025-11-25 15:25:44 +01:00
Raphael
e6498ac804 refactor(commands/administration): linting the collector of join's command 2025-11-25 15:25:44 +01:00
Raphaël
4afc86624d feat(commands/administration): Deleting the join command will come back later
- Will focus on event to be logs complient
2025-11-23 00:48:40 +01:00
Raphael
2a0111efea feat(commands/moderation): adding the option to silent notification 2025-11-15 00:41:39 +01:00
Raphael
9b770235f0 refactor(commands/moderation): removing the extansion after @lib/perm 2025-11-15 00:41:39 +01:00
Raphael
240ee7fbdc fix(commands/administration): join command use now the ButtonBuilder like discord v15 2025-11-15 00:41:39 +01:00
Raphael
9e6a4a0993 feat(commmands/custom): Update the set command's permission check to use the isOwner function 2025-11-15 00:41:39 +01:00
Raphael
dde23bf13a feat(commmands/administration): Update the log command's permission check to use the isOwner function 2025-11-15 00:41:39 +01:00
Raphael
0c081a7ace feat(commmands/administration): Update the deletecat command's permission check to use the isOwner function 2025-11-15 00:41:39 +01:00
Raphael
e1abcd5b24 feat(commmands/rank): Update the buyer command's permission check to use the isOwner function 2025-11-15 00:41:39 +01:00
Raphael
5f89afda04 fix(events/client): User -> UserPrima to not confuse w/ discord type 2025-11-15 00:41:39 +01:00
Raphael
87ea1b7f9b feat(commmands/rank): Update the owner command's permission check to use the isOwner function 2025-11-15 00:41:39 +01:00
Raphael
c016fbbb9f feat(commmands/rank): Update the whitelist command's permission check to use the isOwner function 2025-11-15 00:41:39 +01:00
Raphael
31a29d2884 fix(events/client): now using the number to assign the embed color 2025-11-15 00:41:39 +01:00
Raphael
8c11f466f7 fix(events/client): Guild -> GuildPrima to not confuse w/ discord type 2025-11-15 00:41:39 +01:00
Raphael
022f629921 feat(lib/perm): adding the functions isOwner / isBuyer
- Those functions will permit more portabilities to the code to check if
a user can perform an action or not
2025-11-15 00:41:39 +01:00
Raphael
f7dbfbd2fa feat(commands/custom): set color is now updated to work in v15 2025-11-15 00:41:39 +01:00
Raphael
bec18a5a79 feat(lib/color): now adding the color management functions
- Discord always worked with #RRGGBB syntax so make a function to
translate that in number like the v15 ask to
2025-11-15 00:41:39 +01:00
Raphael
6bad3415a6 feat(index): replacing the variable with the new lib/client 2025-11-14 22:15:07 +01:00
Raphael
70a1d75344 fix(lib/perm): now the bot by-pass the whitelist
- The nuke command wasn't possible is the bot wasn't whitelist
- My vision of the whitelist is to restrict people (other bots too) not
block the bot itself
2025-11-14 22:15:07 +01:00
Raphael
7b365660f5 feat(lib/client): now client is extern to be called on all function needed 2025-11-14 22:15:07 +01:00
Raphael
04854d997e feat(events/client): now the ready event create each member on guild
- The problem is now solve for every people without db
2025-10-26 22:35:29 +01:00
Raphael
eafbfc719a refactor(events/client): now guildCreate use the log wrapper 2025-10-26 22:35:29 +01:00
Raphael
da888835ff fix(cmd/utils): adding correct type on info command 2025-10-26 22:35:29 +01:00
Raphael
cb08d8e062 fix(events/messages): MessageCreate now create the user in the database if is doesn't exist 2025-10-26 22:35:29 +01:00
Raphael
19babd28f1 feat(lib/log): changing the wrap of the log to include the indent parameter 2025-10-26 22:35:29 +01:00