summary refs log tree commit diff
path: root/src/util/entities
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-31 15:52:33 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-31 15:52:33 +1100
commit095cbf7b2036bc35d9c3eabbdec8a5c6dfd67242 (patch)
tree72bc2d6b975855c020e5dd9612a5113b4bf7c2e3 /src/util/entities
parentRevert "Merge pull request #1008 from spacebarchat/dev/samuel" (diff)
downloadserver-095cbf7b2036bc35d9c3eabbdec8a5c6dfd67242.tar.xz
Remove ALL fosscord mentions
Diffstat (limited to 'src/util/entities')
-rw-r--r--src/util/entities/AuditLog.ts2
-rw-r--r--src/util/entities/Emoji.ts2
-rw-r--r--src/util/entities/Guild.ts4
-rw-r--r--src/util/entities/Invite.ts2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/util/entities/AuditLog.ts b/src/util/entities/AuditLog.ts
index e47f92fb..b375f771 100644
--- a/src/util/entities/AuditLog.ts
+++ b/src/util/entities/AuditLog.ts
@@ -100,7 +100,7 @@ export enum AuditLogEvents {
 	POLICY_CREATE = 140,
 	POLICY_UPDATE = 141,
 	POLICY_DELETE = 142,
-	MESSAGE_BLOCKED_BY_POLICIES = 143, // in fosscord, blocked messages are stealth-dropped
+	MESSAGE_BLOCKED_BY_POLICIES = 143, // in spacebar, blocked messages are stealth-dropped
 	// instance policies affecting the guild
 	GUILD_AFFECTED_BY_POLICIES = 216,
 	// message moves
diff --git a/src/util/entities/Emoji.ts b/src/util/entities/Emoji.ts
index f1bf2d59..0bc2f423 100644
--- a/src/util/entities/Emoji.ts
+++ b/src/util/entities/Emoji.ts
@@ -59,5 +59,5 @@ export class Emoji extends BaseClass {
 	roles: string[]; // roles this emoji is whitelisted to (new discord feature?)
 
 	@Column({ type: "simple-array", nullable: true })
-	groups: string[]; // user groups this emoji is whitelisted to (Fosscord extension)
+	groups: string[]; // user groups this emoji is whitelisted to (Spacebar extension)
 }
diff --git a/src/util/entities/Guild.ts b/src/util/entities/Guild.ts
index b1693838..e8454986 100644
--- a/src/util/entities/Guild.ts
+++ b/src/util/entities/Guild.ts
@@ -319,7 +319,7 @@ export class Guild extends BaseClass {
 
 		const guild = await Guild.create({
 			id: guild_id,
-			name: body.name || "Fosscord",
+			name: body.name || "Spacebar",
 			icon: await handleFile(`/icons/${guild_id}`, body.icon as string),
 			owner_id: body.owner_id, // TODO: need to figure out a way for ownerless guilds and multiply-owned guilds
 			presence_count: 0,
@@ -346,7 +346,7 @@ export class Guild extends BaseClass {
 			color: 0,
 			hoist: false,
 			managed: false,
-			// NB: in Fosscord, every role will be non-managed, as we use user-groups instead of roles for managed groups
+			// NB: in Spacebar, every role will be non-managed, as we use user-groups instead of roles for managed groups
 			mentionable: false,
 			name: "@everyone",
 			permissions: String("2251804225"),
diff --git a/src/util/entities/Invite.ts b/src/util/entities/Invite.ts
index e5f2e82c..3019709f 100644
--- a/src/util/entities/Invite.ts
+++ b/src/util/entities/Invite.ts
@@ -86,7 +86,7 @@ export class Invite extends BaseClassWithoutId {
 	@ManyToOne(() => User, {
 		onDelete: "CASCADE",
 	})
-	target_user?: string; // could be used for "User specific invites" https://github.com/fosscord/fosscord/issues/62
+	target_user?: string; // could be used for "User specific invites" https://github.com/spacebarchat/server/issues/326
 
 	@Column({ nullable: true })
 	target_user_type?: number;