@Michael-Pfaff I have no clue on how the plugin works, but from the error stack-trace you're trying to use a method .replace on an undefined object, in the file nodebb-plugin-dice-bot/src/dice.js at line 84. Try to see if .replace() is called there, and check with the debugger why the object it's been called on doesn't exist.
Edit: I think it has something to do with the "create post hook", or something like that.
Thanks! This gives me a lead at least. I'll take a look and see if I can figure some shit out. 👍