Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Commit

Permalink
Prefix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonteohr committed Apr 20, 2020
1 parent 2afe85b commit d0386a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
Channel Guardian allows you to password protect text channels via one simple command. The bot will then hide the channel for everyone without the correct role.

# Usage
* `!password` - Get information regarding how to access a protected channel.
* `!protect <#channel> <password>` - Password protect the mentioned channel. Hiding it for everyone else.
* `!unprotect <#channel>` - Removes the password protection and resets it to its previous state.
* `g!password` - Get information regarding how to access a protected channel.
* `g!protect <#channel> <password>` - Password protect the mentioned channel. Hiding it for everyone else.
* `g!unprotect <#channel>` - Removes the password protection and resets it to its previous state.

---

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/jonteohr/discord/guardian/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class App {
public static JDA jda;

public static String prefix = "!";
public static String prefix = "g!";
public static int color = 0x3FB8FE;
public static String image = "https://netcube.xyz/guardian.png";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private void joinedGuild(Guild guild, JDA jda) {
newGuild(guild);
}

jda.getPresence().setActivity(Activity.watching("!password"));
jda.getPresence().setActivity(Activity.watching("g!password"));
}

private void newGuild(Guild guild) {
Expand Down

0 comments on commit d0386a4

Please sign in to comment.