An extremely simple discord bot for assembling and disassembling through keystone and capstone.
There are two (slash) commands:
-
/asmfor assembling the assembly instructions into binary code. Targets Supported: ARM, Thumb, x86 (16/32/64), MIPS (32/64), PPC (32/64), SPARC, ARM64, Hexagon, SystemZ. -
/disasmfor disassembling the binary into relevant assembly. Targets Supported: ARM, Thumb, x86 (32/64), MIPS (32/64), PPC (32/64), ARM64.
- Make a Bot Application on Discord Developer Portal. Copy the token and set it as an environment variable with the key
BOT_TOKEN. - Install the application on your server. (Make sure it has
applications.commandsscope enabled.) - Clone this repository and enter into its root directory.
- Run
poetry installif you use poetry orpip install .. - Open
__main__.pyfile fromdevnulldirectory in a text editor and update theGUILDSlist with the id(s) of your own server(s). (The variable should be on top, under the imports.) - Save and run.
PRs/Issues are welcomed.