Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function removeTokenPrefix
Re-export
import { removeTokenPrefix } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";

Removes the Bot before the token.

Parameters

optional
token: string
optional
type: "GATEWAY" | "REST" = [UNSUPPORTED]

Returns

string