Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const commands = new discord.command.CommandGroup({
- defaultPrefix: '.'
- });
- commands.on(
- 'say',
- (args) => ({
- input: args.text(),
- delete: 'say'
- }),
- async (message, { input }) => {
- await message.delete();
- await message.reply({
- content: input,
- allowedMentions: {}
- });
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement