mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
Separate archives channel
This commit is contained in:
parent
3d6c4901d0
commit
6846a57a71
@ -163,7 +163,7 @@ module.exports = {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
dm.send(res);
|
dm.send(res);
|
||||||
if (config.logs.discord.enabled) client.channels.cache.get(config.logs.discord.channel).send(res);
|
if (config.transcripts.channel.length > 1) client.channels.cache.get(config.transcripts.channel).send(res);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
message.channel.send('❌ Couldn\'t send DM or transcript log message');
|
message.channel.send('❌ Couldn\'t send DM or transcript log message');
|
||||||
}
|
}
|
||||||
|
@ -48,11 +48,11 @@ module.exports = {
|
|||||||
err_colour: 'RED',
|
err_colour: 'RED',
|
||||||
cooldown: 3,
|
cooldown: 3,
|
||||||
|
|
||||||
guild: '', // ID of your guild
|
guild: '', // ID of your guild (REQUIRED)
|
||||||
staff_role: '', // ID of your Support Team role
|
staff_role: '', // ID of your Support Team role (REQUIRED)
|
||||||
|
|
||||||
tickets: {
|
tickets: {
|
||||||
category: '', // ID of your tickets category
|
category: '', // ID of your tickets category (REQUIRED)
|
||||||
send_img: true,
|
send_img: true,
|
||||||
ping: 'here',
|
ping: 'here',
|
||||||
text: `Hello there, {{ tag }}!
|
text: `Hello there, {{ tag }}!
|
||||||
@ -70,7 +70,8 @@ module.exports = {
|
|||||||
web: {
|
web: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
server: 'https://tickets.example.com',
|
server: 'https://tickets.example.com',
|
||||||
}
|
},
|
||||||
|
channel: '' // ID of your archives channel
|
||||||
},
|
},
|
||||||
|
|
||||||
panel: {
|
panel: {
|
||||||
|
Loading…
Reference in New Issue
Block a user