We now have a Steam Chat Bot!

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
The URLs that you receive via PM when you type !map include a comma at the end which breaks the link. Kinda annoying. :V
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
The URLs that you receive via PM when you type !map include a comma at the end which breaks the link. Kinda annoying. :V
oh shit, will fix asap tonight
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Good. It is an A class bug that is making my life a misery.
 

Yrr

An Actual Deer
aa
Sep 20, 2015
1,317
2,759
So I think I talked about it this morning but I think the bot should have some kind of MOTD feature that admins can set, that it posts hourly.
That way things like the Star Wars message could be put in there along with gameday information or whatever.
Maybe even give admins the ability to set the repeat interval.

I think it'd solve the complaints people have about the Star Wars message but could also be a really useful feature.
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
Deployed an update today:

The update was more centered around back-end changes, the Bot is much easier to utilize from github, making it a much quicker process to download and compile!

I also updated the components related to saving and retrieving data, this should make sure a bug that happened weeks ago never reappears

Fixed the 'maps' list bug, there's now more spaces.
 

Jethro

MUSty Complainer
Nov 2, 2009
287
281
So I think I talked about it this morning but I think the bot should have some kind of MOTD feature that admins can set, that it posts hourly.

Also if it was done every hour or so, it'd be a good way to ghost check.

EDIT as opposed to new post: @Fantasma we just had a ghost chat, and someone typing !rejoin to the bot made the bot rejoin. However, if all staff have rejoined they, uh, can't message the bot because they don't have it on the friends list. Might be worth adding all staff or whatever, just for ease's sake.
 
Last edited:

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
Today's big Update:

MOTD Functionality is in there, but its currently admin only.

  • !setMOTD Hello world Sets a message that's posted every hour for 24 hours
  • !motd Reads out the MOTD
Keep in mind there isn't a 'Delete MOTD' function just yet.

Sheet is back, and A LOT better
  • The sheet updates almost instantly now
  • This will be updated to be even faster....one day.
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
Today's update:
  • Added RSS feed functionality, it'll post when there is a new top entry! This is currently set only to tf2.com
  • The bot now changes its name to MOTD: before posting the message of the day
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
One of the last in the final series of updates I intend to do, based around refining existing features. If anyone wants me to add new features or change existing please suggest them now.
Updates:
  • Updated the search to use the proper google API, this comes with some limitations including a maximum of 100 queries per day total
  • Fixed the RSS news being posted to chat on load
 

Jethro

MUSty Complainer
Nov 2, 2009
287
281
Today at 6PM GMT-ish, this happened

18:18 - Zahnta Claus: !add TF2 f2p
18:18 - [3] FANTASBOT: Added: tf2
18:18 - Zahnta Claus: there we go
18:18 - [4] FANTASBOT: Map changed to: cp_gorge_event_rc1a 3/24
18:18 - Zahnta Claus: we can play tf2
18:18 - [4] FANTASBOT: Map changed to: cp_gorge_event_rc1a 3/24
18:18 - Zahnta Claus: !del tf2
18:18 - [4] FANTASBOT: Removed map: tf2
18:18 - [3] FANTASBOT: Map changed to: cp_gorge_event_rc1a 3/24
18:18 - Deerren: oh
18:18 - Zahnta Claus: ...
18:18 - Tekku: Bot please
18:18 - [3] FANTASBOT: Map changed to: cp_gorge_event_rc1a 3/24
18:18 - Zahnta Claus: oh deer
18:18 - Deerren: we already know that the map changed
18:18 - [3] FANTASBOT: Map changed to: cp_gorge_event_rc1a 3/24
18:18 - Zahnta Claus: oh deery deery
18:18 - [3] FANTASBOT: Map changed to: cp_gorge_event_rc1a 3/24
18:18 - [3] FANTASBOT: Map changed to: cp_gorge_event_rc1a 4/24
18:19 - [3] FANTASBOT: Map changed to: cp_gorge_event_rc1a 4/24
It continued for a while until iibo kicked it to stop it spamming.
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
Hopefully the last set of changes for the bot:

  • Huge Changes to the programming structure, which makes it VERY easy to add instant responses (like ghost: no?) , servers to track, RSS feeds to track, and lastly Searches.
  • Added myanimelist via !MAL
  • Renamed the bot to Vbsp.exe
  • If there aren't any messages for 10 minutes, the bot will leave and rejoin chat, to prevent ghosts
  • !removemotd removes the message of the day
  • You can message the bot !join to have it join the tf2maps chatroom, which it should already be doing

Anyways, i'll leave a kind of post-mortem here of as little words as possible that get what I feel off my chest.

Thank you everyone, the last few weeks working on this bot have actually had a pretty decent impact on me. This served as really a confirmation of what I want my future to be like (programming) and I doubt I would've made it that far without a number of things happening: The awesome help I've received from everyone (which i've put in the OP), Geit letting me host on his server, and the chat for not getting too mad for when the bot spam was at a high. So, thank you tf2maps.net as a whole for that.

THAT being said, I will continue to do small changes and tweaks here and there on the bot when necessary (like a major bug), I just want this point to serve as a sort of 'no more additional features' mark like an RC1, as I feel like there really isn't anything more the bot SHOULD have (as it would become a nuisance).

Feel free to post suggestions and bugs as usual.
 

Crash

func_nerd
aa
Mar 1, 2010
3,348
5,522
5:18 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!
5:23 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!

6:18 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!
6:23 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!

7:18 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!
7:23 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!

8:18 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!
8:23 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!

9:18 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!
9:23 PM - MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!

There is a pattern!
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
The bot shouldn't be posting motd that quickly, please give me all info you can about this (including when it was set)

EDIT: the bug is that the previous Motd wasn't removed before you added a new one
 

Crash

func_nerd
aa
Mar 1, 2010
3,348
5,522
I 100% removed the old one with the command and got confirmation before I entered a new one. The bot was consistently posting at those times.

edit: Hey staff logs come in handy

2015-12-18_23-40-21.jpg
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
Thanks a bunch, would've made pointless changes. Will fix tommorow.
 

zahndah

professional letter
aa
Jul 4, 2015
764
647
Also, you should change the bot when posting motd from 'MOTD:' to 'MOTD' as steam automatically places a colon after the name of the poster.

Edit: alongside the double motd thing, the bot also forgot to change its name.

MOTD:: Star Wars spoilers posted in HLDS mailing list, be warned!
[3] VBot.exe: Star Wars spoilers posted in HLDS mailing list, be warned!
 
Last edited:

Jethro

MUSty Complainer
Nov 2, 2009
287
281
To add on to the double motd thing now - it's now doing it... a bunch of times, after Ido tested by removing and setting a MOTD every five minutes or so.
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
Reworked the system entirely, should be running very smoothly now, please post again if there are any issues!
 

Jethro

MUSty Complainer
Nov 2, 2009
287
281
When the TF2 blog just updated, it started spamming irregularly with the current and previous RSS posts.

01:12 - [0] VBot.exe: Introducing the Festivizer! http://www.teamfortress.com/post.php?id=19829
01:12 - [0] VBot.exe: The UGC League Winter 2016 is Starting http://www.teamfortress.com/post.php?id=19798
01:13 - [0] VBot.exe: Introducing the Festivizer! http://www.teamfortress.com/post.php?id=19829
01:14 - [0] VBot.exe: The UGC League Winter 2016 is Starting http://www.teamfortress.com/post.php?id=19798
01:14 - [0] VBot.exe: Map changed to: pd_snowville_v1 4/24
01:15 - [0] VBot.exe: Introducing the Festivizer! http://www.teamfortress.com/post.php?id=19829
01:16 - [0] VBot.exe: The UGC League Winter 2016 is Starting http://www.teamfortress.com/post.php?id=19798
01:18 - [0] VBot.exe: Introducing the Festivizer! http://www.teamfortress.com/post.php?id=19829
01:18 - [0] VBot.exe: The UGC League Winter 2016 is Starting http://www.teamfortress.com/post.php?id=19798
01:19 - [0] VBot.exe was kicked by King of the Snowgoons, Fr0z3nR.
 

Tumby

aa
May 12, 2013
1,087
1,196
Maybe we could link this bot up with our tf2.com bot or something? Like, have it post the link to the forum thread instead of the teamfortress.com blogpost.