stuff
This commit is contained in:
parent
1dfde3fd0e
commit
63856f3fb8
|
@ -303,6 +303,7 @@
|
|||
"AvatarComponents": {"props": ["AnimatedAvatar"]},
|
||||
"Badges": {"props": ["IconBadge", "NumberBadge"], "assign": true},
|
||||
"CardRemoveButton": {"name": "RemoveButton"},
|
||||
"ChannelTextAreaTypes": {"props": ["ChatInputTypes"], "value": "ChatInputTypes"},
|
||||
"Checkmark": {"name": "Checkmark"},
|
||||
"Connectors": {"props": ["Router", "Link"], "assign": true},
|
||||
"DiscordTag": {"name": "DiscordTag"},
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name EditUsers
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 4.4.6
|
||||
* @version 4.4.7
|
||||
* @description Allows you to locally edit Users
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -17,7 +17,7 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "EditUsers",
|
||||
"author": "DevilBro",
|
||||
"version": "4.4.6",
|
||||
"version": "4.4.7",
|
||||
"description": "Allows you to locally edit Users"
|
||||
}
|
||||
};
|
||||
|
@ -412,7 +412,7 @@ module.exports = (_ => {
|
|||
}
|
||||
|
||||
processChannelEditorContainer (e) {
|
||||
if (!e.instance.props.disabled && e.instance.props.channel && e.instance.props.channel.isDM() && e.instance.props.type == BDFDB.DiscordConstants.TextareaTypes.NORMAL && this.settings.places.chatTextarea) {
|
||||
if (!e.instance.props.disabled && e.instance.props.channel && e.instance.props.channel.isDM() && e.instance.props.type == BDFDB.LibraryComponents.ChannelTextAreaTypes.NORMAL && this.settings.places.chatTextarea) {
|
||||
let user = BDFDB.LibraryModules.UserStore.getUser(e.instance.props.channel.recipients[0]);
|
||||
if (user) e.instance.props.placeholder = BDFDB.LanguageUtils.LanguageStringsFormat("TEXTAREA_PLACEHOLDER", `@${changedUsers[user.id] && changedUsers[user.id].name || user.username}`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue