• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum Discovery Unofficial Development
1 2 3 4 5 Next »
Forumlancer | forum notifications on Discord

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Pages (4): 1 2 3 4 Next »
Forumlancer | forum notifications on Discord
Offline Biggles
04-14-2021, 06:02 PM, (This post was last modified: 03-07-2023, 09:58 PM by Biggles.)
#1
Member
Posts: 187
Threads: 13
Joined: Feb 2015


[Image: HO2pk5R.png]
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.

[Image: 3AvBBeb.png]

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.


How to use it


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.

Commands


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.
‣ watchlist
Show all saved watch terms.
‣ clear
Clear 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.
‣ excluded
List excluded forum accounts.

General

‣ help
Show a help message. Run help <command> to see help about that command.
‣ init
Configure the bot to use this channel for notifications.
‣ info
Show 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.


Known issues

  • Weird backslashes appear in embeds on mobile
    Discord's Markdown parser on mobile is broken. I can't fix this.

How it works


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.



Aurora — Wingman — Forumlancer — ALG
  Reply  
Offline Vulkhard Muller
04-14-2021, 06:35 PM,
#2
Junker Congress
Posts: 2,306
Threads: 401
Joined: Feb 2012

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!!!


Sent me (Nemesis/Junker Congress a Comm? haven't received a reply in a week or more? Sorry! Post here and I'll get back to you asap!
Reply  
Offline darkwind
04-14-2021, 06:58 PM,
#3
Frontier Sheriff
Posts: 1,142
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

Best


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline diamond1
04-14-2021, 10:23 PM,
#4
Member
Posts: 911
Threads: 21
Joined: Nov 2015

Very nice bot! I can finally use something that'll be preventing me from being clickbaited to threads i'm not looking for lol.

Reply  
Offline Prysin
04-28-2021, 09:42 PM,
#5
Apex Predator
Posts: 3,098
Threads: 165
Joined: Jul 2009

this will come in handy. Thank you

[Image: v1zVWKX.png]
DHC Discord
Reply  
Offline Toaster
04-28-2021, 09:44 PM,
#6
Caution: Do NOT Insert Fingers
Posts: 3,139
Threads: 249
Joined: Sep 2010

This is working a treat so far. Brilliant stuff.

Keep it up!

[Image: NbE3ZJ9.png]
Olivia Sable
Reply  
Offline Biggles
09-12-2021, 07:51 PM,
#7
Member
Posts: 187
Threads: 13
Joined: Feb 2015

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.

Aurora — Wingman — Forumlancer — ALG
  Reply  
Offline Biggles
10-14-2021, 11:22 PM,
#8
Member
Posts: 187
Threads: 13
Joined: Feb 2015

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%.

Aurora — Wingman — Forumlancer — ALG
  Reply  
Offline Biggles
06-15-2022, 07:41 PM,
#9
Member
Posts: 187
Threads: 13
Joined: Feb 2015

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.

Aurora — Wingman — Forumlancer — ALG
  Reply  
Offline ronillon
06-15-2022, 10:34 PM,
#10
Copper Storage Depot
Posts: 563
Threads: 19
Joined: Oct 2012

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.





[+]Signature:
►BattleZones
►Ore Mining
►Sci Data Anomaly "Mining"
►Sci Data Rewards
►POB
►POB Rules
►Bretonia ►Gallia ►Kusari ►Liberty ►Rheinland | ►Model/Name/Move
►MultiMonitor Setup - noBorderWindow
►BBCode
Reply  
Pages (4): 1 2 3 4 Next »


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
4 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode