Forumlancer | forum notifications on Discord - Printable Version +- Discovery Gaming Community (https://discoverygc.com/forums) +-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7) +--- Forum: Discovery Developers Forum (https://discoverygc.com/forums/forumdisplay.php?fid=183) +---- Forum: Discovery Unofficial Development (https://discoverygc.com/forums/forumdisplay.php?fid=389) +---- Thread: Forumlancer | forum notifications on Discord (/showthread.php?tid=187440) |
Forumlancer | forum notifications on Discord - Biggles - 04-14-2021 Forumlancer A Discord bot for DiscoveryGC Forumlancer is a Discord bot that provides notifications for activity on the DiscoveryGC forums. Never miss a post again by adding it to your server! Purpose The forum is an integral part of Discovery Freelancer. Despite this, it is often difficult or frustrating for members to stay abreast of activity relevant to them. The forum search function has a minimum query length of 4 characters - useless for the many player factions that go by three-letter abbreviations. Forumlancer allows you to automatically subscribe to threads whose titles contain terms you are interested in and receive notifications of their activity in your Discord server. First, add Forumlancer#5256 to your server using this link. Optionally, you can create a role for Forumlancer to constrain it to the channel you want to use for notifications. The bot must be able to read and send messages and embeds in this channel for it to be useful. Run f/init in the channel you want to receive notifications in. The bot will accept commands prefaced with f/. To get started, use f/help. Here are the commands: Watchlist ‣ watch <term> Get notifications for threads with titles including this term. Note that terms can include punctuation and are case-insensitive. Terms can also be partial words: for example, "pub" would match titles containing the word "Republic".
‣ unwatch <term>Stop getting notifications for threads including this term.
‣ watchlistShow all saved watch terms.
‣ clearClear the watchlist.
Ignore list ‣ exclude <profile_url> Prevent a forum account (such as your own) from triggering notifications.
‣ include <profile_url>Stop preventing a forum account from causing notifications.
‣ excludedList excluded forum accounts.
General ‣ help Show a help message. Run help <command> to see help about that command.
‣ initConfigure the bot to use this channel for notifications.
‣ infoShow information about the bot.
‣ preview <on/off>Configure whether notifications include a preview of post content (defaults to on).
Finally, as a bonus/Easter egg/irritation, Forumlancer will also respond to several Skype emoticon names – e.g. "(bandit)" – so you can reminisce about the good old days.
Rather than scraping the entire contents of the site, Forumlancer periodically scans the "latest threads" sidebar on the forum homepage. I chose this method because it's quick and easy, but also out of consideration for the number of requests made to the web server. An RSS feed for the forum exists, and this would be best of all if not for its posts lagging the actual forum activity by a few hours for some reason. Forumlancer is written in Ruby and its code is licensed under the GNU AGPL-3.0. The source code is available on GitHub. RE: Forumlancer | forum notifications on Discord - Vulkhard Muller - 04-14-2021 This is hands down one of the greatest Discord Bots I have seen in recent history Disco-wise. As someone who doesn't have the time I once had to pour over the forums multiple times a day I am in love with this bot. Thanks so much!!! RE: Forumlancer | forum notifications on Discord - darkwind - 04-14-2021 Best RE: Forumlancer | forum notifications on Discord - diamond1 - 04-14-2021 Very nice bot! I can finally use something that'll be preventing me from being clickbaited to threads i'm not looking for lol. RE: Forumlancer | forum notifications on Discord - Prysin - 04-28-2021 this will come in handy. Thank you RE: Forumlancer | forum notifications on Discord - Toaster - 04-28-2021 This is working a treat so far. Brilliant stuff. Keep it up! RE: Forumlancer | forum notifications on Discord - Biggles - 09-12-2021 You may have noticed that Forumlancer was down for around a month. Sorry about that. This happened because I updated my Pi to Alpine 3.14 (ironic, right?) and fell victim to this regression, which knocked it off the network. I then found I couldn't get ethernet working for some reason, which meant I had to set everything up again from scratch, which I didn't have time to do until now. This time I have taken a proper image so that recovering from this sort of thing should take far less time. I did have a filesystem backup so everyone's config is exactly as it was when the bot went down. I also deployed some code updates made a while ago which mean some commands have been renamed - run f/help to reacquaint yourself. RE: Forumlancer | forum notifications on Discord - Biggles - 10-14-2021 Faced with even more network non-cooperation I spent some time migrating the app back to Heroku. You should notice no changes, except that the bot should now have uptime much closer to 100%. RE: Forumlancer | forum notifications on Discord - Biggles - 06-15-2022 I have fixed a bug that led to occasional crashes, causing sporadic bot downtime and missed notifications. Sorry about that. Thanks to @Shelco for reporting it. RE: Forumlancer | forum notifications on Discord - ronillon - 06-15-2022 Thanks for the bot, just started using it. Please, what kind of sorting is the f/watchlist command using? It is not the order terms were added in. It seems alphabetical, with uppercase being first, but not always. |