generated from lucien/api-template
fix: removed word logging on message component
This commit is contained in:
parent
1ec185330d
commit
fafbceb6a2
1 changed files with 0 additions and 1 deletions
|
@ -14,7 +14,6 @@ export default function MessageComponent({ message, user, channel, deleteMessage
|
|||
const array = []
|
||||
var string = ''
|
||||
message.content.split(" ").forEach((word) => {
|
||||
console.log(word)
|
||||
if (word.startsWith("@")) {
|
||||
const mention = message.mentions.find((mention) => `@${mention.username}` === word);
|
||||
if (mention) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue