30 Commits

Author SHA1 Message Date
Rory&
d5d719f3c8 Remove mariadb support as it isnt maintained and hasnt worked in over a year 2025-09-30 05:23:53 +02:00
Rory&
ac47e03d19 Fix creating guilds 2025-09-29 18:38:06 +02:00
Rory&
72ba6e02b1 Make guild channels nullable 2025-09-29 18:38:06 +02:00
Zane Helton
33fde3bc4a Fix the creation of guilds from templates
The biggest hold-up was missing fields (`premium_tier`,
`welcome_screen`, etc.) but it looks like someone has provided a
helpful function called `createGuild(...)` to provide sensible default
values.

This commit fixes the errors related to creating a guild from a
template. I've also refactored the code to include roles and channels in
the template.

To make sure that the @everyone role is cloned correctly, when
creating the guild from a template, we check if the role's ID
matches the template's `source_guild_id`. If it does, we set the
@everyone role to the new guild's ID.
2025-06-29 13:27:14 +10:00
TomatoCake
dfbbef3637 "engine" const value shared 2024-08-18 17:58:24 +02:00
TomatoCake
99c75d3ae4 Run prettier for @Entity() 2024-08-17 14:54:17 +02:00
TomatoCake
ed28de95a5 Add utf8mb4 "engine" property to all entitys 2024-08-17 12:33:32 +02:00
Madeline
6bf4637a03
fucking postgres 2023-10-04 23:48:00 +11:00
Madeline
7795f1b36b
refactor channel positions in guild 2023-10-04 23:40:05 +11:00
Madeline
ecb227105a
remove default welcome screen text 2023-08-12 00:43:38 +10:00
Madeline
a0d93fb252
* call toJSON of keys in gateway when using erlpack
* dont send bitrate/etc as null when should be undefined
* set user flags to number instead of string
* send empty 'threads' in identify when not using new state v2
2023-07-29 16:59:21 +10:00
Madeline
8a3989c297
Merge branch 'master' into feat/refactorIdentify 2023-07-28 08:24:15 +10:00
Madeline
46d86c4079
move guild/user prop initialisations into create/register methods 2023-04-14 22:27:22 +10:00
Puyodead1
c2ce88dee7
guilds 2023-04-13 15:28:41 -04:00
Madeline
0095b65050
Role flags 2023-04-04 00:17:02 +10:00
Madeline
095cbf7b20
Remove ALL fosscord mentions 2023-03-31 15:52:33 +11:00
Madeline
698ad90d3e
Revert "Merge pull request #1008 from spacebarchat/dev/samuel"
This reverts commit 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing
changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88.
2023-03-31 15:26:15 +11:00
Samuel (Flam3rboy)
69ea71aa9e
Merge pull request #1008 from spacebarchat/dev/samuel 2023-03-30 18:13:34 +02:00
Madeline
8b2faf0b18
SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline
64e747a4d2
SPACEBAR 2023-03-31 02:05:02 +11:00
Samuel
366c4935a4 feat: Database Query Cache 2023-03-18 04:11:48 +01:00
Madeline
084dc0be08 Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit

* Fix all ESLint errors

* Update GH workflow to check prettier and eslint
2023-01-20 18:10:47 +11:00
Madeline
0e7f127ece Script to add license preamble to each file. Also, does that. (#935)
* Add script to automatically add license to each file

* Add license preamble to each file.

* Fix existing preamble detection breaking due to line endings. Git :(

* Prevent license from being added to code with other licenses
2023-01-18 13:05:49 +11:00
Madeline
df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline
150f3dbf43 Use config for some default guild properties 2022-12-24 13:47:38 +11:00
Madeline
2d67355a52 Fix guild features being undefined if not using defaultFeatures 2022-12-21 14:55:23 +11:00
TheArcaneBrony
803ab38fad Move UserSettings to own entity 2022-12-19 17:52:44 +11:00
Madeline
5563a92d25 Don't fetch all members in guild in Member.addToGuild 2022-09-27 18:51:43 +10:00
Madeline
99ee7e9400 Prettier 2022-09-26 22:41:21 +10:00
Madeline
f44f5d7ac2 Refactor to mono-repo + upgrade packages 2022-09-25 23:35:18 +10:00