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

Try to find the most correct item to be the 'primary' item in a reward mail

Parameters

items: Item[]

Possible items to choose from

Returns

Chosen 'primary' item