forked from distok/cutthecord
Implement slashcommands for discord api
This commit is contained in:
parent
5bd99aa8c3
commit
1d0a8b7088
19 changed files with 1239 additions and 0 deletions
10
resources/patches/slashcommands/87202-pre.sh
Normal file
10
resources/patches/slashcommands/87202-pre.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /opt/ctc/gitrepo/resources/patches/slashcommands/code
|
||||
chmod +x gradlew
|
||||
rm -rf build
|
||||
./gradlew build
|
||||
cd build/libs
|
||||
/lib/android-sdk/build-tools/debian/dx --dex --output ctccommands.apk ctccommands-1.0-SNAPSHOT.jar
|
||||
java -jar /opt/ctc/tools/apktool.jar d ctccommands.apk
|
||||
cp -r ctccommands/smali/* ${DISTOK_EXTRACTED_DISCORD_PATH}/smali/
|
Loading…
Add table
Add a link
Reference in a new issue