mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 10:11:27 +03:00
Node v18, discord.js v14
This commit is contained in:
@@ -69,7 +69,7 @@ module.exports.post = fastify => ({
|
||||
data.discordCategory = channel.id;
|
||||
}
|
||||
|
||||
if (!data.channelName) data.channelName = 'ticket-{num}';
|
||||
data.channelName ??= 'ticket-{num}';
|
||||
|
||||
const category = await client.prisma.category.create({
|
||||
data: {
|
||||
|
@@ -1,4 +1,3 @@
|
||||
const fetch = require('node-fetch');
|
||||
const { domain } = require('../../lib/http');
|
||||
|
||||
module.exports.get = () => ({
|
||||
|
Reference in New Issue
Block a user