Starboard in a forum channel

Question (or feedback maybe), is it possible to have the bot create a forum post with the starboard content if the target destination of the starboard is a forum channel? If not, can this be added?
29 Replies
circuitsacul
circuitsacul•2mo ago
yes
NaviKing
NaviKingOP•2mo ago
Oh dope do I have to do anything in particular or can I just set the destination as a forum channel
circuitsacul
circuitsacul•2mo ago
do I have to do anything in particular
no
NaviKing
NaviKingOP•2mo ago
Hmm, it doesn't seem to work I just tried it it does let me target a forum channel as a starboard destination but it doesn't create a post
Starboard
Starboard•2mo ago
Created starboard 'test' in #support.
circuitsacul
circuitsacul•2mo ago
hm
NaviKing
NaviKingOP•2mo ago
Oh that would do it I think I'm in a similar situation where a tag is required on the destination actually I know what tag I'd like assigned But I don't think there's a command to configure it
circuitsacul
circuitsacul•2mo ago
there's not
Starboard
Starboard•2mo ago
Deleted starboard 'test'.
circuitsacul
circuitsacul•2mo ago
that would definitely be worth fixing but I'm probably not going to do it if someone else makes a PR I'll review it and merge it but otherwise I'm not really working on the bot anymore
NaviKing
NaviKingOP•2mo ago
If you share a link to the github or something and let me know what language it's in I can ask some people I know and see if they'd be willing to help with it
circuitsacul
circuitsacul•2mo ago
it's rust, it's in the bots bio completely up to you if you wanna get it done I don't really care anymore
NaviKing
NaviKingOP•2mo ago
I'll see if I can find someone who is willing to do it, thanks for offering to approve the PR though
Landadel
Landadel•5w ago
@circuitsacul Navi found me! I just wanted to give the bot a testrun but hit a roadblock and wondered if you might be familiar with it. It seems like pretty much every command that reads from the DB crashes the bot for me with the error SIGSEGV (signal SIGSEGV: invalid permissions for mapped object (fault address: 0x7cd2a4d18b78)). This happens for me on master without any changes. I am not looking for detailed support, just wondering whether that looks like something you encountered yourself at some point and if so, if there was a straightforward way around it. I appreciate your time!
circuitsacul
circuitsacul•5w ago
I've never seen that error before. Are you running the bot on windows?
Landadel
Landadel•5w ago
Ah, shame :dead: Yeah, in WSL2. I couldn't even install the dependencies on plain Windows
circuitsacul
circuitsacul•5w ago
honestly I'm tempted to just say it's window's fault. That's a memory segfault, which is supposedly impossible with rust... Is there a reason you need to build the bot yourself though? You can just run the docker image instead
Landadel
Landadel•5w ago
I am partway through the implementation of the feature NaviKing was looking for; I was hoping I could have a development setup that didn't require me to build a new image after every change
circuitsacul
circuitsacul•5w ago
gotcha
hgots
hgots•5w ago
iirc this is the same error I got when running it in debug mode
circuitsacul
circuitsacul•5w ago
it's only when running commands that call into the db? that was a stack overflow not a segfault no? regardless yes try running the bot in --release mode
hgots
hgots•5w ago
Landadel
Landadel•5w ago
I'll give that a shot, thank you!
circuitsacul
circuitsacul•5w ago
huh, ok then my memory is bad ig
Landadel
Landadel•5w ago
Or yours is good and ours is bad 😄
circuitsacul
circuitsacul•5w ago
no cause he's sent that before, and this is a known issue you have to run the bot in release mode or it won't work I just didn't remember it being a segfault
Landadel
Landadel•5w ago
For some reason, creating a new starboard is fine. Reading (prior to updating, at least) seems like the thing that blows up but I haven't dug too deep yet.
circuitsacul
circuitsacul•5w ago
yeah idk, my best guess is that it has something to do with the size of the Futures the async code is generating release mode makes them smaller cause no debug info
Landadel
Landadel•5w ago
Can confirm, --release works like a charm! Thank you both so much!

Did you find this page helpful?