mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-16 02:34:19 +00:00
Update examples
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
|
||||
import dotenv from 'dotenv';
|
||||
import { TribufuBot } from '../build';
|
||||
import { TribufuBot } from '../build/index.mjs';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const bot = TribufuBot.fromEnv();
|
||||
const bot = TribufuBot.fromEnv("TRIBUFU");
|
||||
const botId = bot.getBotId();
|
||||
|
Reference in New Issue
Block a user