[1355] Fix slashcommands patch

This commit is contained in:
eatsfoobars 2020-12-13 05:34:37 +00:00
parent f52a1d0764
commit 91dd61f262
Signed by untrusted user: eatsfoobars
GPG key ID: D08609FADBD8C395

View file

@ -1,6 +1,6 @@
diff -crB from/smali/com/discord/stores/StoreMessages.smali to/smali/com/discord/stores/StoreMessages.smali diff -crB from/smali/com/discord/stores/StoreMessages.smali to/smali/com/discord/stores/StoreMessages.smali
*** from/smali/com/discord/stores/StoreMessages.smali 2020-12-10 17:59:08.027851474 +0000 *** from/smali/com/discord/stores/StoreMessages.smali 2020-12-13 05:31:34.240582289 +0000
--- to/smali/com/discord/stores/StoreMessages.smali 2020-12-10 18:28:52.656263412 +0000 --- to/smali/com/discord/stores/StoreMessages.smali 2020-12-13 05:32:37.925509238 +0000
*************** ***************
*** 1458,1463 **** *** 1458,1463 ****
--- 1458,1467 ---- --- 1458,1467 ----
@ -3331,8 +3331,241 @@ diff -crB from/smali/com/discord/stores/StoreMessages.smali to/smali/com/discord
+ return-object p0 + return-object p0
+ .end method + .end method
diff -crB from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali to/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali diff -crB from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali to/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali
*** from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-10 17:59:08.555857553 +0000 *** from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-13 05:31:34.482576851 +0000
--- to/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-10 18:55:45.992064089 +0000 --- to/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-13 05:32:37.927509216 +0000
***************
*** 262,267 ****
--- 262,491 ----
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+ # ctc commands
+
+ const-string v2, "lenny"
+
+ const-string v3, "( ͡° ͜ʖ ͡°)"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "upper"
+
+ const-string v3, "{CTC_COMMAND}"
+
+ const-string v4, "Makes text uppercase"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "lower"
+
+ const-string v4, "Makes text lowercase"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "bold"
+
+ const-string v4, "Makes text bold"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "spoiler"
+
+ const-string v4, "Marks your message as a spoiler"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "spoilerimg"
+
+ const-string v4, "Prepends SPOILER_ to names of all images attached to the message that starts with this, causing them to get marked as spoiler"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "me"
+
+ const-string v4, "Display text with emphasis"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "st"
+
+ const-string v4, "Puts a strikethrough the message"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "owo"
+
+ const-string v4, "Myakes tyext reawwy owo-ly, nya :3"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "fw"
+
+ const-string v4, "Makes text fullwidth (like “Sent from my Android Device”)"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "gordon"
+
+ const-string v4, "𝗛𝗲𝗹𝗹𝗼𝗚𝗼𝗿𝗱𝗼𝗻"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "small"
+
+ const-string v4, "Makes text smaller (like “ᴛʜɪs”)"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "smaller"
+
+ const-string v4, "Makes text even smaller (like “ᵗʰvˢ”)"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "flip"
+
+ const-string v4, "Flips text (like “ʇɥıs”)"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "clap"
+
+ const-string v4, "Please 👏 clap"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "ctc channelleak"
+
+ const-string v4, "Shows all channels, even those you dont have permissions to view"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "ctc notyping"
+
+ const-string v4, "Disables typing event so that its not visible when you type"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "ctc nodelete"
+
+ const-string v4, "Disables handling of message delete events"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "ctc gifautoplay"
+
+ const-string v4, "Disables auto play of GIFs"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "ctc token"
+
+ const-string v4, "Gives or sets token"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "ctc addaccount"
+
+ const-string v4, "Adds an account to the account switcher"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
+ const-string v2, "ctc account"
+
+ const-string v4, "Switches to the account"
+
+ invoke-static {v2, v3, v4, v0}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
+
+ move-result-object v2
+
+ invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
+
return-object v1
.end method
*************** ***************
*** 923,931 **** *** 923,931 ****
@ -3344,245 +3577,19 @@ diff -crB from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel
goto :goto_0 goto :goto_0
--- 923,1157 ---- --- 1147,1155 ----
invoke-static {v1, v2, v3}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createUser(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel; invoke-static {v1, v2, v3}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createUser(Lcom/discord/models/domain/ModelUser;Ljava/lang/String;Lcom/discord/models/domain/ModelPresence;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
! move-result-object v2 ! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! # ctc commands
!
! const-string v2, "lenny"
!
! const-string v3, "( ͡° ͜ʖ ͡°)"
!
! const/4 v4, 0x0
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "upper"
!
! const-string v3, "{CTC_COMMAND}"
!
! const-string v4, "Makes text uppercase"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "lower"
!
! const-string v4, "Makes text lowercase"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "bold"
!
! const-string v4, "Makes text bold"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "spoiler"
!
! const-string v4, "Marks your message as a spoiler"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
! const-string v2, "spoilerimg"
!
! const-string v4, "Prepends SPOILER_ to names of all images attached to the message that starts with this, causing them to get marked as spoiler"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "me"
!
! const-string v4, "Display text with emphasis"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "st"
!
! const-string v4, "Puts a strikethrough the message"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "owo"
!
! const-string v4, "Myakes tyext reawwy owo-ly, nya :3"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "fw"
!
! const-string v4, "Makes text fullwidth (like “Sent from my Android Device”)"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "gordon"
!
! const-string v4, "𝗛𝗲𝗹𝗹𝗼𝗚𝗼𝗿𝗱𝗼𝗻"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "small"
!
! const-string v4, "Makes text smaller (like “ᴛʜɪs”)"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "smaller"
!
! const-string v4, "Makes text even smaller (like “ᵗʰvˢ”)"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "flip"
!
! const-string v4, "Flips text (like “ʇɥıs”)"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "clap"
!
! const-string v4, "Please 👏 clap"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "ctc channelleak"
!
! const-string v4, "Shows all channels, even those you dont have permissions to view"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "ctc notyping"
!
! const-string v4, "Disables typing event so that its not visible when you type"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "ctc nodelete"
!
! const-string v4, "Disables handling of message delete events"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "ctc gifautoplay"
!
! const-string v4, "Disables auto play of GIFs"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "ctc token"
!
! const-string v4, "Gives or sets token"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "ctc addaccount"
!
! const-string v4, "Adds an account to the account switcher"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
!
! const-string v2, "ctc account"
!
! const-string v4, "Switches to the account"
!
! invoke-static {v2, v3, v4, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->createSlashCommand(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;)Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
!
! move-result-object v2
!
! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z ! invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0 goto :goto_0
*************** ***************
*** 1925,1930 **** *** 1925,1930 ****
--- 2151,2162 ---- --- 2149,2160 ----
.locals 2 .locals 2
.line 1 .line 1
@ -3597,7 +3604,7 @@ diff -crB from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel
const-string v1, "" const-string v1, ""
*************** ***************
*** 1952,1957 **** *** 1952,1957 ****
--- 2184,2190 ---- --- 2182,2188 ----
move-result-object p0 move-result-object p0
@ -3606,8 +3613,8 @@ diff -crB from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel
.end method .end method
diff -crB from/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali to/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali diff -crB from/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali to/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali
*** from/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-10 17:59:08.549857484 +0000 *** from/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-13 05:31:34.482576851 +0000
--- to/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-10 18:28:52.656263412 +0000 --- to/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-13 05:32:37.927509216 +0000
*************** ***************
*** 836,841 **** *** 836,841 ****
--- 836,869 ---- --- 836,869 ----