feat: initial Papo bot scaffold
This commit is contained in:
26
node_modules/discord.js/src/structures/SelectMenuInteraction.js
generated
vendored
Normal file
26
node_modules/discord.js/src/structures/SelectMenuInteraction.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
'use strict';
|
||||
|
||||
const process = require('node:process');
|
||||
const StringSelectMenuInteraction = require('./StringSelectMenuInteraction');
|
||||
|
||||
let deprecationEmitted = false;
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link StringSelectMenuInteraction} instead.
|
||||
* @extends {StringSelectMenuInteraction}
|
||||
*/
|
||||
class SelectMenuInteraction extends StringSelectMenuInteraction {
|
||||
constructor(...params) {
|
||||
super(...params);
|
||||
|
||||
if (!deprecationEmitted) {
|
||||
process.emitWarning(
|
||||
'The SelectMenuInteraction class is deprecated. Use StringSelectMenuInteraction instead.',
|
||||
'DeprecationWarning',
|
||||
);
|
||||
deprecationEmitted = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = SelectMenuInteraction;
|
||||
Reference in New Issue
Block a user