1.0.2 • Published 8 months ago

f.lnntools v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago
## Installation

You can install this package using npm:

\```bash
npm install f.lnntools
\```

## Usage

Here are some common use cases for this package:

### 1. Checking if a Discord Bot Token is Valid

\```javascript
const flenntools = require('f.lnntools');

// Replace 'YOUR_BOT_TOKEN' with the actual token you want to check
const botToken = 'YOUR_BOT_TOKEN';

flenntools.checkBotToken(botToken)
  .then((isValid) => {
    if (isValid) {
      console.log('Token is valid!');
    } else {
      console.error('Token is invalid.');
    }
  })
  .catch((error) => {
    console.error('Error:', error.message);
  });
\```

### 2. Getting Bot Information

\```javascript
const flenntools = require('f.lnntools');

// Replace 'YOUR_BOT_TOKEN' with the actual token for your bot
const botToken = 'YOUR_BOT_TOKEN';

flenntools.getBotInfo(botToken)
  .then((botInfo) => {
    console.log('Bot Info:', botInfo);
  })
  .catch((error) => {
    console.error('Error:', error.message);
  });
\```
1.0.2

8 months ago

1.0.0

8 months ago