Skip to content

Commit 516c5cf

Browse files
committed
Merge branch 'master' of https://github.com/gigitygoog/AFB-Bot
2 parents b2bff8d + fdc04f0 commit 516c5cf

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,30 @@
22

33
**Features:**
44

5-
* When summoned for information the bot will currently provide the full base name, the MAJCOM, the city/state/country, links to recent discussions on /r/ratemyafb, a sneak peak of the top comment from one of those discussions, current weather information, and the overall base rating.
5+
* When summoned for information the bot will currently provide the full base name, the MAJCOM, the city/state/country, links to recent discussions on /r/ratemyafb, a sneak peak of the top comment from one of those discussions, current weather information, and the various base ratings.
66

7-
* Ability to easily rate bases / change your previous rating of a base in up to three fields: "rate", "arearate", and "housingrate".
7+
* Ability to easily rate bases / change your previous rating of a base in up to four categories: "rate", "arearate", "offbaserate", and "onbaserate".
88

99
* 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.
1010

11-
* Maintains a dynamic wiki for all of the bases.
11+
* Maintains a dynamic wiki for all of the bases which includes base discussions, top comments, the base ranking against others, and more.
1212

1313
**Usage:**
1414

1515
- To summon the bot for base information, either in a comment or a submission 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.
1616
> **AFBbot**, tell me about **Langley**!
1717
18-
- To rate a base, either in a comment or a submission include the bot's name (**afbbot**), one or more of the following words: "**rate**"/"**arearate**"/"**housingrate**", a **number** (can be anything but will be rounded between 1-10) after each rating word, and the **base name**. The only thing that matters is that the rating number comes after the rating word.
18+
- To rate a base, either in a comment or a submission include the bot's name (**afbbot**), one or more of the following words: **rate**/**arearate**/**onbaserate**/**offbaserate**, a **number** (can be anything but will be rounded between 1-10) after each rating word, and the **base name**. The only thing that matters is that the rating number comes after the rating word.
1919

20-
>I was at **langley** for 2 years and the housing is great! Overall I **rate** it an **8**, and I arearate it **9.5** **AFBbot**.
20+
- **Rate** is for a general rating of the base.
21+
22+
- **AreaRate** is for a rating of the local area around the base.
23+
24+
- **OnBaseRate** is for a rating of the on base housing (dorms/actual housing).
25+
26+
- **OffBaseRate** is for a rating of the off base housing.
27+
28+
>I was at **langley** for 2 years and the housing is great! Overall I **rate** it an **8**, and I **arearate** it **9.5** **AFBbot**.
2129
2230
- To summon the bot for overall statistics, either in a comment or a submission include the bot's name (**afbbot**) and "**stats**".
2331

@@ -29,13 +37,15 @@
2937

3038
- 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.
3139

40+
- Add a leaderboard for the base rankings.
41+
3242
- Potentially add other branch bases (if requested).
3343

3444
- Open to any suggestions.
3545

3646
**Notes:**
3747

38-
- For base information the bot will only reply with a single base's information if multiple are mentioned.
48+
- For base information the bot will only handle one base per comment, if multiple are mentioned it will take the first it sees in it's list.
3949

4050
- If a user has already rated a base it will change their previous rating, ratings are stored in a SQLite3 DB.
4151

@@ -45,7 +55,7 @@
4555

4656
- 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.
4757

48-
- The bot currently runs on /r/AFBbot (feel free to test things here) and /r/RateMyAFB
58+
- The bot currently runs on /r/AFBbot (feel free to test things here), /r/AirForce, and /r/RateMyAFB
4959

5060
>The bot will ignore single lines of quoted text and attempt to function as normal with the rest of the comment/thread.
5161
>However, if there are multiple lines of quoted text such as this the bot will NOT reply.

0 commit comments

Comments
 (0)