Fix all slashcommands patches

This commit is contained in:
eatsfoobars 2020-12-13 05:53:12 +00:00
parent c21b085f22
commit a35345d167
Signed by untrusted user: eatsfoobars
GPG key ID: D08609FADBD8C395
2 changed files with 490 additions and 466 deletions

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-13 05:31:34.240582289 +0000 *** from/smali/com/discord/stores/StoreMessages.smali 2020-12-13 05:41:31.971238977 +0000
--- to/smali/com/discord/stores/StoreMessages.smali 2020-12-13 05:32:37.925509238 +0000 --- to/smali/com/discord/stores/StoreMessages.smali 2020-12-13 05:41:43.783501402 +0000
*************** ***************
*** 1458,1463 **** *** 1458,1463 ****
--- 1458,1467 ---- --- 1458,1467 ----
@ -3331,241 +3331,253 @@ 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-13 05:31:34.482576851 +0000 *** from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-13 05:41:32.243244992 +0000
--- to/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-13 05:32:37.927509216 +0000 --- to/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-13 05:48:38.069700594 +0000
*************** ***************
*** 262,267 **** *** 258,266 ****
--- 262,491 ---- .line 5
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;
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z ! move-result-object v0
! 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 return-object v1
.end method .end method
--- 258,490 ----
.line 5
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
!
! # 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 ****
@ -3613,8 +3625,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-13 05:31:34.482576851 +0000 *** from/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-13 05:41:32.245245035 +0000
--- to/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-13 05:32:37.927509216 +0000 --- to/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-13 05:41:43.785501447 +0000
*************** ***************
*** 836,841 **** *** 836,841 ****
--- 836,869 ---- --- 836,869 ----

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-13 04:52:12.074336495 +0000 *** from/smali/com/discord/stores/StoreMessages.smali 2020-12-13 05:51:19.509930688 +0000
--- to/smali/com/discord/stores/StoreMessages.smali 2020-12-13 04:59:04.386390554 +0000 --- to/smali/com/discord/stores/StoreMessages.smali 2020-12-13 05:51:30.440219256 +0000
*************** ***************
*** 1458,1463 **** *** 1458,1463 ****
--- 1458,1467 ---- --- 1458,1467 ----
@ -3331,241 +3331,253 @@ 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-13 04:52:12.322280249 +0000 *** from/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-13 05:51:19.725936389 +0000
--- to/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-13 05:30:41.732050758 +0000 --- to/smali/com/discord/widgets/chat/input/WidgetChatInputCommandsModel.smali 2020-12-13 05:51:30.442219308 +0000
*************** ***************
*** 262,267 **** *** 258,266 ****
--- 262,491 ---- .line 5
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;
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z ! move-result-object v0
! 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 return-object v1
.end method .end method
--- 258,490 ----
.line 5
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
!
! # 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 ****
@ -3613,8 +3625,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-13 04:52:12.324279796 +0000 *** from/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-13 05:51:19.725936389 +0000
--- to/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-13 04:59:04.386390554 +0000 --- to/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-12-13 05:51:30.442219308 +0000
*************** ***************
*** 836,841 **** *** 836,841 ****
--- 836,869 ---- --- 836,869 ----