mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 06:22:21 +00:00
fix dms some more
This commit is contained in:
1 parent
0c8c682ea3
commit
99a8abe06d
3 files changed
+7
-3
No files matched your search
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 = _;
|
||||
|
||||
Reference in new issue
Block a user