So i am creating a Discord user verification bot that generates a 2048 bit key when you join a server, it will be used for verification if your account gets hacked or stolen so you can know the new account is the previous person.

I have got the Key Generation down but i am having a problem with seeing if `message.content` is in some array

```
client.on("message", (message) => {
var array = fs.readFileSync('./keys.txt').toString().split("\n");
})

```

I am converting a text file to an array, but then i am stumped.
The bot is suppose to check all messages for the key, if found it will tell all users that the new user is verified to be the old user in a channel.
Can someone please tell me how to check if a message comes from an array? Thanks.