Final Fantasy Wiki
FFWiki forum logo.png
Forums: Index > Rin's Travel Agency > Archive > Heroku: a server for running bots

As those of you who use Discord may be aware, I've recently been working on a bot to replace our long-fallen friend(?) SacredMinotaur, which until someone suggests a better name I've taken to calling Magitek Gobtalker. Its original purpose is to serve as a linker; i.e. allow someone to type [[Sephiroth]] and actually get a link to Sephiroth. However, I have added functionality for custom text commands (to be reworked, as the way it is is quite hackish...), and also intend to add support for the ability to call Intangir from the admin lab. I may also add other GFMinotaur commands such as !google and !roll as I see fit (I'm also taking requests for commands, so if you have anything you'd like to see please let me know.) An early draft of Magitek Gobtalker can be viewed on GitHub; if you want to test it, contact me and I'll add you to my personal Discord server.

However, the existence of a bot which is always on necessitates a server to host it, and I've chosen Heroku to support Gobtalker. I would have needed to set up a cloud server which has enough support for Python/PIP to run Intangir Bot eventually; the amount of FFXIV data I go through each patch several days to parse and upload to the wiki, even though the process is mostly automated. (I hope to have this process actually functional for Patch 4.3, but that's a week away, so no promises. I still have no idea how to deal with NPC data...)

Now, Intangir Bot is not automatic; a user has to feed in commands that it will carry out. However, certain tasks could be automated (perhaps, run once a day) if the bot was hosted on a server. What comes to mind is parsing maintenance reports; deleting broken redirects and unused videos, fixing double redirects, and adding maintenance tags to pages in certain categories (Special:Withoutimages is currently useless because it's full of etym and disambig pages; but a bot could recognize the difference and add {{image needed}} to any page in that report which is neither etym nor disambig) all come to mind.

Are these features we want Intangir Bot to have? Without a human operator we of course run the risk of false positives sneaking through, but it could help the wiki run smoother in principle.

It goes without saying that, due to the pace I work on things, all this is a long term project. Still, I hope to have it all done some time this year... Cat (meowhunt) 20:39, May 15, 2018 (UTC)

Running the bot from a Discord server, if possible, is a great idea, but I would do it from a separate channel so as not to spam the admin-lab/so non-admin bot users can access it.
Completely support automatic tasks to fix maintenance report, particularly for redirects and the like, stable scripts like those where there will not be false positives should be fine. Over time we can introduce more scripts to run automatically, and even in the worst case scenario, revertbot exists.--Magicite-ffvi-ios.png Technobliterator TC 21:09, May 15, 2018 (UTC)
Not against it in principle, but a page without images does not always need images, and a broken redirect usually needs fixing, not deleting. JBed (talk) 21:25, May 15, 2018 (UTC) does fix them most of the time instead of delete.--Magicite-ffvi-ios.png Technobliterator TC 21:34, May 15, 2018 (UTC)
I wasn't actually aware of's full power as I only used it for replacing double redirects; but yes, it attempts to fix, and then either deletes or marks for deletion, depending on whether you give it permission to use its admin rights. Cat (meowhunt) 21:37, May 15, 2018 (UTC)