Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Commit

Permalink
update stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Milo123459 committed Aug 1, 2021
1 parent 563f189 commit 0116042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Listeners/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = class MessageListener extends Listener {
if (FirstTimeDoc) {
await FirstTimeDoc.delete();
await message.reply(
`<@${message.author.id}>, Welcome to the help channel. Please make sure to follow these basic rules when asking for help:\n\n1. Do not ask/beg for source code. We don't give out source codes.\n\n2. Don't ping anyone for help.\n\n3. Do not ask for help in DMs.\n\n4. When posting code/errors post them in a source code bin. Links can be found by running the command \`s!bins\`\n\n5. Be patient, people have a life outside of the internet.\n\n6. Don't ask to get help, if you have a question, post your question with code and errors.\n\n7. If you want priority support, make a ticket in <#809431342680375326>\n\n**I SERIOUSLY RECOMMEND LISTENING TO NUMBER 7 AND MAKING A TICKET. IT MEANS YOU WILL GET HELP FASTER.**`,
`<@${message.author.id}>, Welcome to the help channel. Please make sure to follow these basic rules when asking for help:\n\n1. Do not ask/beg for source code. We don't give out source codes.\n\n2. Don't ping anyone for help.\n\n3. Do not ask for help in DMs.\n\n4. When posting code/errors post them in a source code bin. Links can be found by running the command \`s!bins\`\n\n5. Be patient, people have a life outside of the internet.\n\n6. Don't ask to get help, if you have a question, post your question with code and errors.\n\n7. Make a thread. That is how you get help, you make a thread in this channel. It's really easy, like, just make a thread.`,
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Listeners/ThreadCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = class ThreadCreateListener extends Listener {
if (thread.parentId === '709043365727043588') {
// Variables:
let embed = this.client.tools.embed().setTitle('Help Thread').setDescription(`Welcome to your help thread!\n\nHere, please describe your issue and provide your code, if any.\nAlso please read these help rules:\n1. Do not ask/beg for source code. We don't give out source codes.\n\n2. Don't ping anyone for help without permission.\n\n3. Do not ask for help in DMs.\n\n4. When posting code/errors post them in a source code bin. Links can be found by running the command s!bins\n\n5. Be patient, people have a life outside of the internet.\n\n6. Don't ask to get help, if you have a question, post your question with code and errors.`);
let button = new MessageActionRow().addComponents(new MessageButton().setLabel('Archive Thread').setStyle('DANGER').setCustomId(`archivethread${thread.id}`));
let button = new MessageActionRow().addComponents(new MessageButton().setLabel('Close').setStyle('DANGER').setCustomId(`archivethread${thread.id}`));
let allThreads = await thread.guild.channels.fetchActiveThreads();
allThreads = allThreads.threads.filter(aThread => aThread.parentId == '709043365727043588' && aThread.ownerId === thread.ownerId);

Expand Down

0 comments on commit 0116042

Please sign in to comment.