Skip to main content
The Deno 2 Release Candidate is here
Learn more
method BotGeneratorHelper.prototype.getBotEquipmentRole
Re-export
import { BotGeneratorHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Convert a bots role to the equipment role used in config/bot.json

Parameters

botRole: string

Role to convert

Returns

string

Equipment role (e.g. pmc / assault / bossTagilla)