🚑 Fix auto_voice_channel_title type

This commit is contained in:
SebClem 2022-06-17 18:04:23 +02:00
parent fdb118fb53
commit 0364dabb89
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
2 changed files with 19 additions and 2 deletions

View File

@ -103,7 +103,7 @@ public class SettingService {
SettingDescriber mainField = new SettingDescriber( SettingDescriber mainField = new SettingDescriber(
"auto_voice", "auto_voice",
"Enable Auto Create Voice Chanel", "Enable Auto Create Voice Chanel",
"Auto create voice channel on join.", null,
SettingDescriber.TYPE.BOOL SettingDescriber.TYPE.BOOL
); );
@ -118,7 +118,7 @@ public class SettingService {
"auto_voice_channel_title", "auto_voice_channel_title",
"Auto Created Voice Channel title", "Auto Created Voice Channel title",
"Auto created voice channel will use this title, @count will be replaced by the channel count.", "Auto created voice channel will use this title, @count will be replaced by the channel count.",
SettingDescriber.TYPE.VOICE_CHANNEL SettingDescriber.TYPE.STRING
)); ));
return new SettingGroup( return new SettingGroup(

View File

@ -716,3 +716,20 @@ databaseChangeLog:
columnName: welcome_message columnName: welcome_message
tableName: guild_preference_entity tableName: guild_preference_entity
# 12/06/2022
- changeSet:
id: 1655026344809-1
author: seb65 (generated)
changes:
- addUniqueConstraint:
columnNames: guild_id
constraintName: UC_GUILD_PREFERENCE_ENTITYGUILD_ID_COL
tableName: guild_preference_entity
- changeSet:
id: 1655026344809-2
author: seb65 (generated)
changes:
- dropColumn:
columnName: anti_spam
tableName: guild_preference_entity