mirror of
https://github.com/tribufu/tribufu-js
synced 2026-06-01 09:42:36 +00:00
Parse bot token to get id and add examples
This commit is contained in:
parent
5047dada7c
commit
de1f90c622
14 changed files with 298 additions and 146 deletions
9
examples/client.js
Normal file
9
examples/client.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
|
||||
import dotenv from 'dotenv';
|
||||
import { TribufuClient } from '../build';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const client = TribufuClient.fromEnv();
|
||||
const clientId = client.getClientId();
|
||||
Loading…
Add table
Add a link
Reference in a new issue