mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
12 lines
234 B
JavaScript
12 lines
234 B
JavaScript
const Action = require('./Action');
|
|
|
|
class UserGetAction extends Action {
|
|
handle(data) {
|
|
const client = this.client;
|
|
const user = client.dataManager.newUser(data);
|
|
return { user };
|
|
}
|
|
}
|
|
|
|
module.exports = UserGetAction;
|