I’ve never used the discord module before, but doesn’t seem like it is built in. However, Replit allows you to install packages using the package manager. Simply search for the necessary package, and click install. Alternatively, you can also use the shell found next to the console tab to install it like this: (assuming this is the module you are talking about) pip install discord.py (if the shell isn’t open, you can open it by pressing “+” and searching “Shell”)
I’ve installed the discord and discord.py modules, but my Repl doesn’t seem to have any issues importing. Could you provide me a link to your repl?