Update examples

This commit is contained in:
Guilherme Werner
2024-01-01 14:05:40 -03:00
parent d743c1b53f
commit 81cabdd26c
4 changed files with 14 additions and 8 deletions

View File

@ -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();