mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
fix: Keep symbols in actions manager (#9293)
fix: keep symbols in actions manager
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
class ActionsManager {
|
||||
// These symbols represent fully built data that we inject at times when calling actions manually. Action#getUser,
|
||||
// for example, will return the injected data (which is assumed to be a built structure) instead of trying to make it
|
||||
// from provided data
|
||||
// These symbols represent fully built data that we inject at times when calling actions manually.
|
||||
// Action#getUser, for example, will return the injected data (which is assumed to be a built structure)
|
||||
// instead of trying to make it from provided data
|
||||
injectedUser = Symbol('djs.actions.injectedUser');
|
||||
injectedChannel = Symbol('djs.actions.injectedChannel');
|
||||
injectedMessage = Symbol('djs.actions.injectedMessage');
|
||||
|
||||
Reference in New Issue
Block a user