153 Commits

Author SHA1 Message Date
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
dank074
526a8da8f5
add webrtc support (#1284)
Co-authored-by: MaddyUnderStars <46743919+MaddyUnderStars@users.noreply.github.com>
2025-06-22 12:41:13 +10:00
dank074
f5d6394c38 run prettier 2024-11-19 14:19:40 -06:00
Madeline
841b36112f
Merge pull request #1232 from dank074/patch/eslintConfig 2024-11-14 16:02:00 +11:00
dank074
bcbd8234e5 fix op 8 2024-11-13 19:59:57 -06:00
dank074
f499507698 turn off eslint rules causing issues 2024-11-13 19:05:54 -06:00
TomatoCake
e807037145 Add more application properties 2024-08-31 11:04:18 +02:00
TomatoCake
eca4f1b56c Listing & creation of Developer Portal teams 2024-08-24 07:37:34 +02:00
Madeline
9bcc178093
Merge pull request #1178 from DEVTomatoCake/fix/1154-mysql-charset 2024-08-22 10:09:18 +10:00
Madeline
ad2dda63c9
Merge branch 'master' into fix/widget.json-channel-ordering-deleted-channels 2024-08-22 09:53:34 +10:00
Madeline
dbd93bdd7c
Merge pull request #1126 from DEVTomatoCake/feat/local-image-proxy 2024-08-19 16:38:03 +10:00
Cyber
2212a84ded fix: nickmane reset by command 2024-08-19 08:10:19 +02:00
TomatoCake
dfbbef3637 "engine" const value shared 2024-08-18 17:58:24 +02:00
TomatoCake
63bd6d97c6 re-add CDN TODO comment 2024-08-18 10:50:45 +02:00
TomatoCake
b7f966c8c2 Prettier, remove manual deletion of msgs 2024-08-18 10:46:17 +02:00
TomatoCake
cae9d7ebed widget.json channel_ordering, fix channel deletion 2024-08-18 10:41:45 +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
TomatoCake
16322a8829 Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/local-image-proxy 2024-08-15 16:00:18 +02:00
Cyber
e721e7c4ca fix: add webhook_id to webhook's messages 2024-08-14 10:19:41 +02:00
Madeline
2f1449e65f
Merge pull request #1161 from DEVTomatoCake/feat/bio-max-length-config 2024-08-14 14:04:30 +10:00
Madeline
4b02fa6ade
Merge pull request #1159 from DEVTomatoCake/feat/request-guild-members 2024-08-14 14:03:56 +10:00
TomatoCake
df794695ff Icon for discovery categories & fix "primary_only" 2024-08-13 21:43:19 +02:00
TomatoCake
ea3047890b Fix issues with requesting presences 2024-08-11 06:40:42 +02:00
TomatoCake
20b2843680 Make profile bio max length configurable 2024-08-10 22:10:20 +02:00
TomatoCake
4ca79adcae Merge branch 'master' into feat/webhooks-3 2024-08-08 18:03:13 +02:00
TomatoCake
c41b4f6364 prettier .-. 2024-07-28 20:50:11 +10:00
TomatoCake
a887608d30 Fix msg component typings 2024-07-28 20:50:11 +10:00
TomatoCake
d79669f771
Merge branch 'master' into feat/local-image-proxy 2024-07-18 16:08:06 +02:00
TomatoCake
adc3474216 Consistent relations, url property, src channel 2024-07-18 15:35:10 +02:00
TomatoCake
873107f90d Perms for GET webhook, url property 2024-07-18 15:16:50 +02:00
TomatoCake
128b81bc6a Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/webhooks-3 2024-07-18 14:41:14 +02:00
TomatoCake
59c42c950b try manual conflict resolving 2024-07-18 13:31:04 +02:00
TomatoCake
6be3714593 Fix ESLint & prettier 2024-07-18 12:52:00 +02:00
TomatoCake
e7a98b6c46 webhook fixes & username/avatar property for msg 2024-07-18 12:42:07 +02:00
Cyber
01ca7b7736 feat: badges 2024-07-17 19:55:29 +10:00
TomatoCake
9b02e82614 Make poll a single object instead of an array 2024-07-09 22:58:10 +10:00
TomatoCake
c52d6c49a3 Add new message flags once again 2024-07-05 07:43:50 +02:00
TomatoCake
5f9c6b01a7 Send position property on guild join 2024-07-04 09:41:23 +10:00
TomatoCake
9d27a5138f Prettier -.- 2024-07-04 09:40:15 +10:00
TomatoCake
628b094865 running prettier for others 2024-06-28 10:21:32 +02:00
Diana Nilsson
2d8238f286 Add missing entries to UserSettings 2024-06-27 19:00:18 +10:00
TomatoCake
aa412e0e60 Remove parent for childs on category deletion 2024-06-05 21:59:29 +02:00
Puyodead1
ee59ee7e1c
Fix message flags being null 2024-04-14 14:02:22 -04:00
Puyodead1
0a6f6a095d
member projection: select avatar 2023-12-09 14:07:54 -05:00
Puyodead1
7b34c70fb8
fix some issues with discord bot libs 2023-11-29 11:08:35 -05: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
2f48212e6e
typeorm inverse relations of guild relations 2023-09-02 02:21:42 +10:00
Puyodead1
c311edc99c
make guild voice a text based channel 2023-08-27 20:16:49 -04:00