mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com> Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com> Co-authored-by: Advaith <advaithj1@gmail.com> Co-authored-by: Shiaupiau <stu43005@gmail.com> Co-authored-by: monbrey <rsm999@uowmail.edu.au> Co-authored-by: Tiemen <ThaTiemsz@users.noreply.github.com> Co-authored-by: Carter <carter@elhnet.net>
22 lines
500 B
JavaScript
22 lines
500 B
JavaScript
'use strict';
|
|
|
|
const ApplicationCommandManager = require('./ApplicationCommandManager');
|
|
|
|
/**
|
|
* An extension for guild-specific application commands.
|
|
* @extends {ApplicationCommandManager}
|
|
*/
|
|
class GuildApplicationCommandManager extends ApplicationCommandManager {
|
|
constructor(guild, iterable) {
|
|
super(guild.client, iterable);
|
|
|
|
/**
|
|
* The guild that this manager belongs to
|
|
* @type {Guild}
|
|
*/
|
|
this.guild = guild;
|
|
}
|
|
}
|
|
|
|
module.exports = GuildApplicationCommandManager;
|