mirror of
https://github.com/gizmo4487/O-Bot.git
synced 2026-07-14 08:35:55 -05:00
Complete rewrite - Added slash commands
This commit is contained in:
10
cmd/text/pi.js
Normal file
10
cmd/text/pi.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const { SlashCommandBuilder } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('pi')
|
||||
.setDescription('Make O-Bot say something'),
|
||||
async execute(interaction) {
|
||||
await interaction.reply('Pipi? Pipi-pipipipipi!');
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user