mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 10:01:21 +01:00
Fix crashing when titan dev appears
This commit is contained in:
parent
80d89b49f8
commit
a0a2f3951a
@ -800,6 +800,9 @@
|
||||
replace.find(".blockcode").find("br").remove();
|
||||
}
|
||||
var usrcachekey = username + "#" + message.author.discriminator;
|
||||
if (usrcachekey.startsWith("(Titan Dev) ")) {
|
||||
usrcachekey = usrcachekey.substr(12);
|
||||
}
|
||||
if (!(usrcachekey in message_users_cache)) {
|
||||
message_users_cache[usrcachekey] = {"data": {}, "msgs": []};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user