diff --git a/README.md b/README.md
index 621a74e..caf10b2 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
-
SupportBot v4.0.0
+SupportBot v4.0.1
A Self Hosted discord application
-
+
@@ -61,7 +61,7 @@ Once you have setup your discord application such as invited the bot and added y
"category": "Tickets",
"Ticket_Message": "Your support ticket has been opened successfully\nPlease allow us some time to reach out to you.",
"Ticket_Logs": "ticket-logs",
- "bot.settings.Default_Ticket_Reason": "No Subject",
+ "Default_Ticket_Reason": "No Subject",
"Ticket_React_Message": ":mailbox: React to create your support ticket.",
"Commands_Log_Title": "SupportBot Logs",
@@ -127,3 +127,9 @@ Once you have setup your discord application such as invited the bot and added y
# Donators List
+# Community
+
+
+
+
+
diff --git a/commands/announce.js b/commands/announce.js
index 8db8b00..d740c39 100644
--- a/commands/announce.js
+++ b/commands/announce.js
@@ -31,8 +31,9 @@ exports.run = async(bot, message, args) => {
let ac = message.guild.channels.find(AnnounceChannel => AnnounceChannel.name === `${bot.settings.Announcement_Channel}`)
if(!ac) return message.channel.send(`:x: Error! Could not find the logs channel **${bot.settings.Announcement_Channel}**`)
- ac.send(embed)
- // ac.send("@everyone")
+ ac.send("@everyone").then((msg) => {
+ ac.send(embed);
+ });
const SuggestionSuccessEmbed = new Discord.RichEmbed()
.setDescription(`:white_check_mark: You have successfully created an announcement. <#${ac.id}>`)
diff --git a/commands/ticket.js b/commands/ticket.js
index eae750e..6172dfd 100644
--- a/commands/ticket.js
+++ b/commands/ticket.js
@@ -48,11 +48,16 @@ exports.run = (bot, message, args) => {
}).then(TicketChannel => {
// Roles
+<<<<<<< HEAD
let staff = message.guild.roles.find(supportRole => supportRole.name === `${bot.settings.staff}`)
let everyone = message.guild.roles.find(everyoneRole => everyoneRole.name === "@everyone")
let department = message.guild.roles.find(DepartmentRole => DepartmentRole.name === `${bot.settings.Department_Role_1}`)
let department2 = message.guild.roles.find(DepartmentRole => DepartmentRole.name === `${bot.settings.Department_Role_2}`)
let department3 = message.guild.roles.find(DepartmentRole => DepartmentRole.name === `${bot.settings.Department_Role_3}`)
+=======
+ let support = message.guild.roles.find(supportRole => supportRole.name === `${bot.settings.support}`)
+ let everyone = message.guild.roles.find(everyoneRole => everyoneRole.name === "@everyone")
+>>>>>>> master
// Permissions
TicketChannel.overwritePermissions(everyone, { SEND_MESSAGES: false, READ_MESSAGES: false })