Skip to content
Discussion options

You must be logged in to vote

It's possible.
Abstract this idea from Discord, since you're only collecting input and sending output. This way it's as simple as running a shell command.

  • You need to collect the input from Discord, parse it out of code fencing or otherwise.
  • Send this input to be compiled by NASM via an asyncio subprocess.
  • Run your compiled program.
  • Collect the output from the process, this process is explained here.
  • Send this output back to Discord.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sh0tx420
Comment options

Answer selected by sh0tx420
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants