I'm currently doing a code with [AFK] when they type `${prefix}afk`, I wanted to do is after they chat again in discord the [AFK] in their nickname would be removed. So far this is only I know adding [AFK] in their nickname when they call the command

Here's my current code:

```
var nickname = `[AFK]`;

 message.member.setNickname(nickname + ' ' + message.author.username);
  const embed = new MessageEmbed()
  .setAuthor({iconURL: `${message.author.avatarURL()}`,name: `${message.member.user.tag}`})
  .setDescription(`${message.author.toString()}` + " is now AFK")
  .setTimestamp()
  .setColor('RANDOM')

   return message.channel.send({embeds: [embed]})
  //I wanted to do the next line when the person chat again [AFK] will be removed

```

`${prefix}afk` = `[AFK] Username` after chatting again `[AFK] Username` = `Username`

Any tips on how to do it? I'm using discord js v13 and slappey

This is the full code I'm doing right now:

```
  module.exports = class TestCommand extends BaseCommand {
  constructor() {
    super('test', 'testing', []);
  }

async run(client, message, args) {
 // if(!message.member.permissions.has("ADMINISTRATOR")) return message.channel.send("You can't use this command.");
// if(!message.guild.me.permissions.has("ADMINISTRATOR")) return message.channel.send("My role does not have the manage channels permission");
  const { MessageEmbed, Collection } = require('discord.js');
  var nickname = `[AFK]`;

  message.member.setNickname(nickname + ' ' + message.author.username);
  const embed = new MessageEmbed()
  .setAuthor({iconURL: `${message.author.avatarURL()}`,name: `${message.member.user.tag}`})
  .setDescription(`${message.author.toString()}` + " is now AFK")
  .setTimestamp()
  .setColor('RANDOM')

   return message.channel.send({embeds: [embed]})
  }
}

```

Take note that I'm using slappey package to do my bot.