diff --git a/serve.ts b/serve.ts index 94885b7..a21e190 100644 --- a/serve.ts +++ b/serve.ts @@ -39,6 +39,7 @@ interface user { token: string; password: string; dev: boolean; + bot: boolean; } interface message { diff --git a/src/components/Message.tsx b/src/components/Message.tsx index 82fbc08..a0897f5 100644 --- a/src/components/Message.tsx +++ b/src/components/Message.tsx @@ -125,7 +125,7 @@ function Message({author, content, inline = false, bottom = false, timestamp = 0 return (
{!inline ? : ""} - {!inline ?
{self.dev ? `${author.name} (${author.username}, ${author.id})` : author.name ?? author.username} {author.dev ? : ""}
: ""} + {!inline ?
{self.dev ? `${author.name} (${author.username}, ${author.id})` : author.name ?? author.username} {author.dev ? : ""} {author.bot && }
: ""}
{formattedContent}
) diff --git a/src/types/user.ts b/src/types/user.ts index ceaf5c0..7e0d21f 100644 --- a/src/types/user.ts +++ b/src/types/user.ts @@ -8,4 +8,5 @@ export interface user { token: null, password: null, dev: boolean; + bot: boolean; } \ No newline at end of file