Skip to content

Commit 2691916

Browse files
authored
Release
1 parent 89b2a06 commit 2691916

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

README.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,48 @@
55

66
* Ability to easily rate bases / change your previous rating of a base.
77

8+
* Ability to summon the bot for overall statistics. The bot will provide the highest and lowest rated bases along with the current coldest and warmest temperature bases.
9+
810
**Usage:**
911

10-
- To summon the bot for general information, simply include the name "afbbot" (not case sensitive) and a base name, ex: Langley. The base name triggers are keywords and nicknames, you can review the full list on the source provided below. If you have any suggestions for additional bases or nicknames please let me know.
11-
> **AFBbot**! Tell me about **Langley**!
12+
- To summon the bot for base information, simply include the bot's name (afbbot) and a base name, ex: Langley. The base name triggers are keywords and nicknames. If you have any suggestions for additional bases or nicknames please let me know.
13+
> **AFBbot**, tell me about **Langley**!
14+
15+
- To rate a base you do not need to mention the bot's name, simply include the word "rate" along with a number (can be anything but will be rounded between 1-10) and the base name. The only thing that matters is that the rating number comes after the word "rate".
1216

13-
- To rate a base you do not need to manually call the bot, simply include the word "rate" along with a number (can be anything but will be rounded between 1-10) and the base name. The only thing that matters currently is that the rating comes after the word "rate". Ex: I rate Langley a 9.5.
1417
>I was at **langley** for 2 years and the DFAC sucks! I **rate** it a **3.5** at best.
1518
16-
**Planned Features:**
19+
- To summon the bot for overall statistics, simply include the bot's name (afbbot) and "stats".
20+
21+
>**AFBbot**, lets see those **stats**!
1722
18-
- Have the bot link the three most recent discussions for the base when called.
23+
**Planned Features:**
1924

20-
- Give the ability to call the bot for a stats page, statistics displayed could be things like top three rated bases, top three lowest rated bases, ect.
25+
- Have the bot link the three most recent discussions for the base on /r/ratemyafb when called.
2126

2227
- Add additional bases as they are suggested. I did not include many National Guard / Reserve bases due to a lack of mentions, however if you think a base should be added please let me know and it can be easily done. Undisclosed locations will obviously not be added.
2328

24-
- Open to any suggestions. If there are any python gods out there who have the time to look over my git and see something that I could do better your feedback is always appreciated.
29+
- Potentially add other branch bases (if requested).
30+
31+
- Open to any suggestions.
2532

2633
**Notes:**
2734

28-
- Ratings are stored in a SQLite3 DB, if a user has already rated a base it will change their previous rating.
35+
- For base information the bot will only reply with a single base's information if multiple are mentioned.
36+
37+
- If a user has already rated a base it will change their previous rating, ratings are stored in a SQLite3 DB.
2938

3039
- The bot looks at both submissions and comments for all features.
3140

32-
- The bot can take negative numbers, decimals, 0, but will always round it between 1-10.
41+
- The bot can take negative numbers, decimals, 0, but will always round between 1-10.
3342

34-
- The bot does not care about fractions, ex: if you say "I rate langley 5/5" it will rate it 5.0. It just looks for the first number after the word rate.
43+
- The bot does not care about fractions, ex: if you say "I rate langley 5/5" it will rate it 10 (55 rounded down). It just looks for the first number after the word rate along with spaces.
3544

36-
- The bot currently only runs on /r/AFBbot (feel free to test things here) and /r/RateMyAFB , after I determine it is stable and am finished implementing some more planned features I will ask if it is something the mods over at /r/AirForce would be interested in adding or if any other subs are interested in it.
45+
- The bot currently only runs on /r/AFBbot (feel free to test things here) and /r/RateMyAFB
3746

3847
>The bot will ignore single lines of quoted text and attempt to function as normal with the rest of the comment/thread.
3948
>However, if there are multiple lines of quoted text such as this the bot will NOT reply.
4049
41-
If you find a bug or want to give feedback feel free to leave it here or at the below links. Thanks for your time.
42-
4350
Huge thanks to /u/Rate_My_AF_Base for letting me trial the bot.
4451

4552
Lastly if you wish to use any of the code you are absolutely welcome to it.

0 commit comments

Comments
 (0)