Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/util/token.ts

Discord API library for Deno
Go to Latest
import * as discordeno from "https://deno.land/x/discordeno@17.0.0/util/token.ts";

Functions

Get the bot id from the bot token. WARNING: Discord staff has mentioned this may not be stable forever. Use at your own risk. However, note for over 5 years this has never broken.

Removes the Bot before the token.