Skip to content

Commit

Permalink
Doc updates, typo fixes and other tweaks
Browse files Browse the repository at this point in the history
Closes #133 #132 #130
  • Loading branch information
jogramming committed Feb 5, 2018
1 parent a158c48 commit e54b8ba
Show file tree
Hide file tree
Showing 12 changed files with 269 additions and 258 deletions.
2 changes: 1 addition & 1 deletion automod/assets/help-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Automod allows you to set up some automated moderation on your server, like bann
The different rules you can set up at the moment:

- **Slowmode**: Users are allowed to send max `x` messages in `y` seconds
- **Mass mention**: Messages that contains more than `x` unique mentions (everyone and here mentions dosen't count)
- **Mass mention**: Messages that contains more than `x` unique mentions (everyone and here mentions doesn't count)
- **Server invites**: Messages that contains invites to other servers (invites to the same server is allowed)
- **Links**: Restrict sending of all links
- **Ban websites**: Restrict specific websites
Expand Down
104 changes: 53 additions & 51 deletions automod/assets_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/yagpdb/posts/30-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ After all this i will start on additions and new features again.

### Other things:

- [Amiroslo#8803 made a complete video tutorial on how to use the bot](https://youtu.be/zG8PekpD-kk)
- KingCobra#8803 made a complete video tutorial on how to use the bot](https://youtu.be/zG8PekpD-kk)
- The bot is now nearing 9k servers!
- I changed host to a cheaper one, they also experienced a couple networking issues right after i switched which may either be incompetence on their part or bad luck on my part, wether i will switch to another depends on wether the issues persist or not

Expand Down
2 changes: 1 addition & 1 deletion cmd/yagpdb/templates/cp_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<a class="nav-link" href="/manage/{{.ActiveGuild.ID}}/autorole">Autorole</a>
</li>
<li>
<a class="nav-link" href="/manage/{{.ActiveGuild.ID}}/rolecommands/">Role Commands <span class="label label-success">New!</span></a>
<a class="nav-link" href="/manage/{{.ActiveGuild.ID}}/rolecommands/">Role Commands</a>
</li>
<li>
<a class="nav-link" href="/manage/{{.ActiveGuild.ID}}/logging/">Logging</a>
Expand Down
10 changes: 6 additions & 4 deletions commands/assets/help-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ invite | inv, i | N/A | Response with the bot website link for invitation.
info | N/A | N/A | Response with bot information.

### Tools:
Command | Aliases | Requiered Args | Optional Args | Description
Command | Aliases | Required Args | Optional Args | Description
------- | ------- | -------------- | ------------- | -----------
calc | c, calculate | (what to calculate) | N/A | Calculator 2+2=5
ping | N/A | N/A | N/A | Response with pong and pingtime.
Expand All @@ -20,9 +20,10 @@ remindme | remind | (time) (message) | N/A | Schedules a reminder. Example: `rem
reminders | N/A | N/A | N/A | List of your active reminders with an ID.
creminders | N/A | N/A | N/A | Lists reminders only in the current channel with an ID. Only members with `manage server` permissions can use this command.
delreminder | rmreminder | (ID) | N/A | Deletes the reminder with the given ID.
mentionrole | N/A | role-name | N/A | Sets a role to mentionable, mentions the role, then sets it back to not mentionable.

### Moderation:
Command | Aliases | Requiered Args | Optional Args | Description
Command | Aliases | Required Args | Optional Args | Description
------- | ------- | -------------- | ------------- | -----------
ban | N/A | (username) | (reason) | Bans given member.
kick | N/A | (username) | (reason) | Kicks given member.
Expand All @@ -38,7 +39,7 @@ delwarning | dw | (ID) | N/A | Deletes the warning with the given ID.
clearwarnings | clw | (username) | N/A | Clears all warnings from given member.

### Misc/Fun:
Command | Aliases | Requiered Args | Optional Args | Description
Command | Aliases | Required Args | Optional Args | Description
------- | ------- | -------------- | ------------- | -----------
reverse | r, rev | (text) | N/A | Reverse the text given.
weather | w | (location) | N/A | Show the weather for the given location. Add ?m after the location for metric. Example: `w bergen?m`.
Expand All @@ -54,9 +55,10 @@ takerep | -, tr, trep | (username) | (count) | Takes away given number of rep fr
giverep | +, gr, grep | (username) | (count) | Give given number of rep to given member. Default number is 1.
rep | N/A | N/A | (username) | Shows your or the given member current rep and rank.
toprep | N/A | N/A | (offset) | Shows top 15 rep members on the server.
sentiment | sent | N/A | (text) | Does sentiment analysys on the given text or your last 5 messages longer than 3 words.
sentiment | sent | N/A | (text) | Does sentiment analysis on the given text or your last 5 messages longer than 3 words.
8ball | N/A | (question) | N/A | Wisdom.
soundboard | sb | N/A | (soundname) | Play or list soundboard sounds.
WouYouRather | wyr | N/A | dark questions? | Somewhat NSFW(text): Get presented with 2 choices, add the 'dark' argument for dark questions

### Debug:
Command | Aliases | Description
Expand Down
Loading

0 comments on commit e54b8ba

Please sign in to comment.