It wont let me install

all it says is “error: Nothing matches com.discordapp.Discord in remote flathub” when i try to install

let me guess: you are not on x86_64.

Or you are on Fedora and didn’t explicitely install Flathub

Otherwise, not enough information to guess