This commit is contained in:
Isaac (eartharoid) 2020-08-23 22:12:07 +01:00
parent 5c65888c95
commit 9a63bee5e7
2 changed files with 5 additions and 4 deletions

View File

@ -1,11 +1,12 @@
# DiscordTickets # DiscordTickets
[![Run on Repl.it](https://repl.it/badge/github/eartharoid/DiscordTickets)](https://repl.it/github/eartharoid/DiscordTickets) [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B214BHI) [![Run on Repl.it](https://repl.it/badge/github/eartharoid/DiscordTickets)](https://repl.it/github/eartharoid/DiscordTickets)
A simple Discord bot to manage support ticket channels to allow you and your team to provide better and quicker assistance to your members/customers. A simple Discord bot to manage support ticket channels to allow you and your team to provide better and quicker assistance to your members/customers.
**Go to the [wiki](https://github.com/Eartharoid/DiscordTickets/wiki) for more information** **Go to the [wiki](https://github.com/Eartharoid/DiscordTickets/wiki) for more information**
https://discord.com/api/oauth2/authorize?client_id=INSERT-YOUR-BOT-ID-HERE&permissions=8&scope=bot Invite your bot:
`https://discord.com/api/oauth2/authorize?client_id=INSERT-YOUR-BOT-ID-HERE&permissions=8&scope=bot`
# REWRITE IN PROGRESS, PLEASE DON'T DOWNLOAD FROM MASTER, DOWNLOAD [LATEST RELEASE](https://github.com/eartharoid/DiscordTickets/releases) OR WAIT A FEW DAYS. [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B214BHI)

View File

@ -56,7 +56,7 @@ module.exports = {
.setColor(config.colour) .setColor(config.colour)
.setAuthor(message.author.username, message.author.displayAvatarURL()) .setAuthor(message.author.username, message.author.displayAvatarURL())
.setTitle(`Ticket ${id}`) .setTitle(`Ticket ${id}`)
.setFooter(guild.name + ' | This message will be deleted in 15 seconds', guild.iconURL()); .setFooter(guild.name, guild.iconURL());
if (fs.existsSync(`user/transcripts/text/${ticket.channel}.txt`)) { if (fs.existsSync(`user/transcripts/text/${ticket.channel}.txt`)) {
embed.addField('Text transcript', 'See attachment'); embed.addField('Text transcript', 'See attachment');