getResId

fun getResId(name: String, type: String): Int

Get resource id from discord package.

Return

ID of the resource, or 0 if not found.

Parameters

name

Name of the resource.

type

Type of the resource.