Question: I want to use !test epicchannel (epicchannel being the name of the channel , for example if I want to use !test infinite , it will create a channel named testing-infinite ) but it doesn't work. it just makes a channel named testing-test

I've tried using message.content.startsWith, but if I do that, nothing happens.

```js
const Discord = require("discord.js");
const client = new Discord.Client();
const prefix = '!';

client.on("message", async message => {

    if(message.content.startsWith === '!test') {
        if(message.author.id === '560761436058550273') {
            const args = message.content.slice(prefix.length).trim().split(/ +/g);

        message.guild.createChannel(`testing-${args}`).then(channel => {    
            channel.setTopic(`Today we will test: ${args}`)
        })
        }else{  
            if(!message.author.id === '560761436058550273') {   
                return;
            }
        }

}
});
client.login('login is here');

```

No errors, I just want it to use !test infinite to create a channel named testing-infinite

Answer: 
First check if data is not same with: 

```
dd($item->item_smallest_unit_cost, $item_unit->item_unit_coast_price);

```

If is data you expected result, you need to save updated item:

```
$item = $item_unit->getItem;
$item->item_smallest_unit_cost = $item_unit->item_unit_coast_price;
$item->item_smallest_unit_selling_price = $item_unit->item_unit_selling_price;
$item->save(); // You need that
return $item;

```

This should work.

You can found more [here](https://laravel.com/docs/5.8/eloquent#inserting-and-updating-models).
`$item->item_smallest_unit_cost = $item_unit->item_unit_coast_price;
$item->item_smallest_unit_selling_price = $item_unit->item_unit_selling_price;`

instead of this use following 

```
$item['item_smallest_unit_cost'] = $item_unit->item_unit_coast_price;
$item['item_smallest_unit_selling_price'] = $item_unit->item_unit_selling_price;

```

also 

```
return $item->get();

```

instead only 

```
return $item; 

```