✨ A framework to create discord bots with discord.js. Modular | Flexible | Powerful | Development | Interactions
MIT License
Sheweny is a framework for creating Discord bots in TypeScript. This repository contains multiple packages with separate releases.
import { ShewenyClient } from '@sheweny/framework';
const client = new ShewenyClient({
intents: ['Guilds', 'GuildMembers', 'GuildMessages'],
managers: {
commands: {
directory: './commands',
applicationPermissions: true, // Enable slash-commands permissions
},
events: {
directory: './events',
},
buttons: {
directory: './buttons',
},
},
});
const { Command } = require('sheweny');
class PingCommand extends Command {
constructor(client) {
super(client, {
name: 'ping',
description: 'Ping Pong',
type: 'SLASH_COMMAND',
cooldown: 5, // 5 seconds
});
}
async execute(interaction) {
interaction.reply({ content: 'Pong!' });
}
}
module.exports = PingCommand;
This project has an MIT license. And you are welcome to contribute. For more details on contributions, please read the CONTRIBUTING.md file.
If you need help with the framework or your bot you can open an issue for bugs report or join the discord server for questions.