Skip to content

Commit

Permalink
Merge pull request #216 from flytegg/master
Browse files Browse the repository at this point in the history
Merge upstream changes
  • Loading branch information
joshbker authored Nov 3, 2023
2 parents 0bb56b6 + bb0b555 commit 5d950df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Contributions are always welcome. If you have no coding knowledge, please create

1. Fork the repository, and then clone it to your local git
2. Open the project in your IDE of choice
3. We use environment variables for sensitive data such as Mongo URI's and bot tokens, as well as constants such as channel IDs or role IDs. You will see an .env.example in the root folder. You should rename this to .env, and populate it. We recommend using [this plugin](https://plugins.jetbrains.com/plugin/7861-envfile) to easily bind the env file to your project so they are available for testing locally
4. Make your changes, and please maintain a similar code style and quality
5. Create a Pull Request into the master branch of this repository

3. We use environment variables for sensitive data such as Mongo URI's and bot tokens, as well as constants such as channel IDs or role IDs. You will see an .env.example in the root folder. You should rename this to .env, and populate it.
4. Before making changes, familiarise yourself with [Flyte's Contributing Guidelines](https://docs.flyte.gg/contributing.html)
5. Make your changes, and please maintain a similar code style and quality
6. Create a Pull Request into the master branch of this repository

We review pull requests as soon as possible. Please feel free to get in touch if it's urgent.

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/learnspigot/bot/help/PingCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class PingCommand {
"Paste it @ https://paste.learnspigot.com and send it so we can help.",
false
)
.addField("I figured it out", "Great job! Run ${if (closeId == null) "/close" else "</close$closeId>"} and select contributors.", false)
.addField("I figured it out", "Great job! Run ${if (closeId == null) "/close" else "</close:$closeId>"} and select contributors.", false)
.build())
.setContent(channel.owner!!.asMention + " - You haven't responded in a while!")
.queue()
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/learnspigot/bot/help/ThreadListener.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ class ThreadListener : ListenerAdapter() {
.setDescription("""
Please allow someone to read through your post and answer it!
If you fixed your problem, please run ${if (closeId == null) "/close" else "</close$closeId>"}.
If you fixed your problem, please run ${if (closeId == null) "/close" else "</close:$closeId>"}.
""".trimIndent())
.build()
).queue()
}
}
}

0 comments on commit 5d950df

Please sign in to comment.