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 = []
|
const array = []
|
||||||
var string = ''
|
var string = ''
|
||||||
message.content.split(" ").forEach((word) => {
|
message.content.split(" ").forEach((word) => {
|
||||||
console.log(word)
|
|
||||||
if (word.startsWith("@")) {
|
if (word.startsWith("@")) {
|
||||||
const mention = message.mentions.find((mention) => `@${mention.username}` === word);
|
const mention = message.mentions.find((mention) => `@${mention.username}` === word);
|
||||||
if (mention) {
|
if (mention) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue