Files
UNIT3D-Community-Edition/database/factories/BotFactory.php
2023-01-06 16:05:53 -06:00

41 lines
1.4 KiB
PHP

<?php
/* @var \Illuminate\Database\Eloquent\Factory $factory */
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class BotFactory extends Factory
{
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'position' => $this->faker->randomNumber(),
'name' => $this->faker->name(),
'command' => $this->faker->word(),
'color' => $this->faker->word(),
'icon' => $this->faker->word(),
'emoji' => $this->faker->word(),
'info' => $this->faker->word(),
'about' => $this->faker->word(),
'help' => $this->faker->text(),
'active' => $this->faker->boolean(),
'is_protected' => $this->faker->boolean(),
'is_triviabot' => $this->faker->boolean(),
'is_nerdbot' => $this->faker->boolean(),
'is_systembot' => $this->faker->boolean(),
'is_casinobot' => $this->faker->boolean(),
'is_betbot' => $this->faker->boolean(),
'uploaded' => $this->faker->randomNumber(),
'downloaded' => $this->faker->randomNumber(),
'fl_tokens' => $this->faker->randomNumber(),
'seedbonus' => $this->faker->randomFloat(),
'invites' => $this->faker->randomNumber(),
];
}
}