Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const testCommands = new discord.command.CommandGroup({
- defaultPrefix: '/'
- });
- testCommands.on(
- 'userid',
- (ctx) => ({
- user: ctx.user()
- }),
- async (message, { user }) => {
- message.reply(`User id is: ${user.id}`);
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement