Fix some comments

This commit is contained in:
Rory&
2026-03-19 08:42:36 +01:00
parent d0eac0b8e7
commit 85190daff9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -91,6 +91,7 @@ export const PublicMemberProjection: PublicMemberKeys[] = [
"flags",
];
// TODO: make a proper schema rather than inheriting entity
export type PublicMember = Omit<Pick<Member, PublicMemberKeys>, "roles"> & {
user: PublicUser;
roles: string[]; // only role ids not objects
+1 -1
View File
@@ -297,7 +297,7 @@ export class User extends BaseClass {
req?: Request;
bot?: boolean;
}) {
// trim special uf8 control characters -> Backspace, Newline, ...
// trim special utf8 control characters -> Backspace, Newline, ...
username = trimSpecial(username);
const discriminator = await User.generateDiscriminator(username);