mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-01 08:30:08 +00:00
* Cleanup Part 2: Electric Boogaloo (Reloaded) * Moar cleanup * Tweak NOT_A_PERMISSION error
14 lines
245 B
JavaScript
14 lines
245 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;
|