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
yes
Oh dope
do I have to do anything in particular or can I just set the destination as a forum channel
do I have to do anything in particularno
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
Created starboard 'test' in #support.
hm
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
there's not
Deleted starboard 'test'.
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
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
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
I'll see if I can find someone who is willing to do it, thanks for offering to approve the PR though
@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!I've never seen that error before. Are you running the bot on windows?
Ah, shame :dead: Yeah, in WSL2. I couldn't even install the dependencies on plain Windows
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
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
gotcha
iirc this is the same error I got when running it in debug mode
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
I'll give that a shot, thank you!
huh, ok then
my memory is bad ig
Or yours is good and ours is bad 😄
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
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.
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
Can confirm, --release works like a charm! Thank you both so much!