mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
Add channel whisper functionality (#91)
* ChatChannel -> TextChannel, WhisperChannel, GroupChannel * Add basic whisper channel support * Move WhisperPings into WhisperOptions * Add defaults to WhisperOptions * Various deprecation and refactor fixes * Test and fux bugs
This commit is contained in:
1 parent
14dfcfbf38
commit
f9cac355b6
44 files changed
+797
-304
No files matched your search
+2
-2
@@ -218,8 +218,8 @@ public class MySQLUserService<T extends ChatUser> implements UserService<T> {
|
||||
this.carbonChat.logger().info("Saving user data!");
|
||||
stm.executeUpdateQuery("INSERT INTO sc_users (uuid, channel, muted, shadowmuted, spyingwhispers, nickname) VALUES (?, ?, ?, ?, ?, ?) " +
|
||||
"ON DUPLICATE KEY UPDATE channel = ?, muted = ?, shadowmuted = ?, spyingwhispers = ?, nickname =?",
|
||||
user.uuid().toString(), selectedName, user.muted(), user.shadowMuted(), user.spyingwhispers(), user.nickname(),
|
||||
selectedName, user.muted(), user.shadowMuted(), user.spyingwhispers(), user.nickname());
|
||||
user.uuid().toString(), selectedName, user.muted(), user.shadowMuted(), user.spyingWhispers(), user.nickname(),
|
||||
selectedName, user.muted(), user.shadowMuted(), user.spyingWhispers(), user.nickname());
|
||||
|
||||
this.carbonChat.logger().info("Saving user channel settings!");
|
||||
// Save user channel settings
|
||||
|
||||
Reference in new issue
Block a user