mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 10:11:27 +03:00
more on closing and feedback (WIP)
This commit is contained in:
@@ -62,7 +62,7 @@ module.exports = class ForceCloseSlashCommand extends SlashCommand {
|
||||
await interaction.deferReply();
|
||||
|
||||
const settings = await client.prisma.guild.findUnique({ where: { id: interaction.guild.id } });
|
||||
const getMessage = this.client.i18n.getLocale(settings.locale);
|
||||
const getMessage = client.i18n.getLocale(settings.locale);
|
||||
let ticket;
|
||||
|
||||
if (!(await isStaff(interaction.guild, interaction.user.id))) { // if user is not staff
|
||||
|
Reference in New Issue
Block a user