feat: removed user name something
This commit is contained in:
parent
2730c4373a
commit
28ed823e2b
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,7 @@ export async function nonCommandHandler(message : Message){
|
||||||
await message.channel.sendMessage({
|
await message.channel.sendMessage({
|
||||||
content: actualContent,
|
content: actualContent,
|
||||||
masquerade: {
|
masquerade: {
|
||||||
name: alter.name + " ( " + message.author.member.displayName + " )",
|
name: alter.name ,
|
||||||
avatar: alter.profile_pic_url,
|
avatar: alter.profile_pic_url,
|
||||||
color: alter.color
|
color: alter.color
|
||||||
},
|
},
|
||||||
|
@ -38,6 +38,7 @@ export async function nonCommandHandler(message : Message){
|
||||||
await message.delete();
|
await message.delete();
|
||||||
}
|
}
|
||||||
catch(e){
|
catch(e){
|
||||||
|
console.log(e)
|
||||||
await message.channel.sendMessage("Error: PluralCake requires at least these permissions: \n- Masquerade permissions. \n- Message editing permissions.")
|
await message.channel.sendMessage("Error: PluralCake requires at least these permissions: \n- Masquerade permissions. \n- Message editing permissions.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue