Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Volyte

A lightweight Discord bot library focused on performance and minimal resource usage. ⚠️ This package is currently in beta and under active development.

Installation

npm install volyte > yarn add volyte

Example

import { Client } from 'volyte';

const client = new Client({ token: 'YOUR_BOT_TOKEN' });

client.on('ready', (user) => {
  console.log(`Logged in as ${user.username}`);
});

client.on('messageCreate', async (message) => {
  if (message.content === '!ping') {
    await client.sendMessage(message.channel_id, 'Pong!');
  }
});

client.login();

(yes, slash commands are coming)

Contributing

Contributions are always welcome ❤️ Please open issues or pull requests.

About

A minimal Discord Bot library designed for performance and low resource usage.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages