fix dms some more

This commit is contained in:
MathMan05 committed 2025-10-16 12:05:04 -05:00
1 parent 0c8c682ea3
commit 99a8abe06d
3 files changed
+7 -3

No files matched your search

+5 -1
View File
@@ -2509,7 +2509,10 @@ class Channel extends SnowFlake {
} else {
console.error("something bad happened");
}
if (messagez.mentionsuser(this.localuser.user) && messagez.author !== this.localuser.user) {
if (
(messagez.mentionsuser(this.localuser.user) || this.guild.id === "@me") &&
messagez.author !== this.localuser.user
) {
this.mentions++;
}
this.lastmessageid = messagez.id;
@@ -2542,6 +2545,7 @@ class Channel extends SnowFlake {
if (this.localuser.user.status === "dnd") {
return;
}
if (
!this.guild.mute_config ||
new Date(this.guild.mute_config.end_time).getTime() < Date.now()
+1 -1
View File
@@ -310,7 +310,7 @@ type userjson = {
bot: boolean;
premium_since: string;
premium_type: number;
theme_colors: string;
theme_colors: [number, number] | null;
pronouns?: string;
badge_ids: string[];
webhook?: webhookInfo;
+1 -1
View File
@@ -8,7 +8,6 @@ import {getBulkInfo, setTheme, Specialuser} from "./utils/utils.js";
import {
channeljson,
guildFolder,
guildjson,
mainuserjson,
memberjson,
memberlistupdatejson,
@@ -2129,6 +2128,7 @@ class Localuser {
const colorPicker = settingsLeft.addColorInput(I18n.profileColor(), (_) => {}, {
initColor: color,
});
colorPicker.watchForChange((_) => {
console.log();
color = _;