We now have a Steam Chat Bot!

Discussion in 'Site Discussion' started by Fantasma, Nov 8, 2015.

  1. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,479
    The URLs that you receive via PM when you type !map include a comma at the end which breaks the link. Kinda annoying. :V
     
  2. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    oh shit, will fix asap tonight
     
  3. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,479
    Good. It is an A class bug that is making my life a misery.
     
  4. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    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.
     
    • Agree Agree x 2
  5. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    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.
     
  6. Jethro

    Jethro MUSty Complainer

    Messages:
    288
    Positive Ratings:
    261
    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.
     
    • Agree Agree x 2
    Last edited: Dec 14, 2015
  7. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    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.
     
  8. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    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
     
  9. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    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
     
  10. Jethro

    Jethro MUSty Complainer

    Messages:
    288
    Positive Ratings:
    261
    Today at 6PM GMT-ish, this happened

    It continued for a while until iibo kicked it to stop it spamming.
     
  11. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    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.
     
    • Thanks Thanks x 2
  12. Crash

    aa Crash func_nerd

    Messages:
    3,191
    Positive Ratings:
    5,016
    There is a pattern!
     
  13. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    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
     
  14. Crash

    aa Crash func_nerd

    Messages:
    3,191
    Positive Ratings:
    5,016
    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

    [​IMG]
     
    • Useful Useful x 1
  15. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    Thanks a bunch, would've made pointless changes. Will fix tommorow.
     
  16. zahndah

    aa zahndah professional letter

    Messages:
    718
    Positive Ratings:
    627
    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: Dec 19, 2015
  17. Jethro

    Jethro MUSty Complainer

    Messages:
    288
    Positive Ratings:
    261
    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.
     
  18. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    995
    Reworked the system entirely, should be running very smoothly now, please post again if there are any issues!
     
  19. Jethro

    Jethro MUSty Complainer

    Messages:
    288
    Positive Ratings:
    261
    When the TF2 blog just updated, it started spamming irregularly with the current and previous RSS posts.

     
  20. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    954
    Positive Ratings:
    938
    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.