-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Patch system to allow for safe updates to file data. * Overhauled RemindMe command, reminders are now a lot more accurate and have a hard cap of 1 year, they are now global and persist between restarts. + Dm command RemindMe added + ClearReminder command. + Dm command ClearReminder added + dontlogBot toggle * Completely overhauled the channelhere system to allow for certain channels types/settings to allow for multiple channels. * Custom commands now use `<tag>` instead of `#tag#` for custom commands. all previously created custom commands will be automatically fixed to use the new system. + lock check for editing ccs.
- Loading branch information
1 parent
ec844a1
commit c911e3d
Showing
111 changed files
with
2,276 additions
and
1,217 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package ChannelSettings; | ||
|
||
import ChannelSettings.Settings.*; | ||
import ChannelSettings.Types.*; | ||
import Interfaces.ChannelSetting; | ||
|
||
import java.util.ArrayList; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class InitChannels { | ||
|
||
public static ArrayList<ChannelSetting> get() { | ||
ArrayList<ChannelSetting> channelSettings = new ArrayList<>(); | ||
|
||
//Channel Types | ||
channelSettings.add(new General()); | ||
channelSettings.add(new Info()); | ||
channelSettings.add(new Admin()); | ||
channelSettings.add(new AdminLog()); | ||
channelSettings.add(new ServerLog()); | ||
|
||
//Channel Settings | ||
channelSettings.add(new Shitpost()); | ||
channelSettings.add(new Servers()); | ||
channelSettings.add(new BotCommands()); | ||
channelSettings.add(new DontLog()); | ||
|
||
return channelSettings; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Settings; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class BotCommands implements ChannelSetting{ | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_BOT_COMMANDS; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Settings; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class DontLog implements ChannelSetting { | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_DONT_LOG; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Settings; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class Servers implements ChannelSetting { | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_SERVERS; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Settings; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class Shitpost implements ChannelSetting{ | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_SHITPOST; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Types; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class Admin implements ChannelSetting { | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_ADMIN; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Types; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class AdminLog implements ChannelSetting { | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_ADMIN_LOG; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Types; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class General implements ChannelSetting { | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_GENERAL; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Types; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class Info implements ChannelSetting{ | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_INFO; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package ChannelSettings.Types; | ||
|
||
import Interfaces.ChannelSetting; | ||
import Interfaces.Command; | ||
|
||
/** | ||
* Created by Vaerys on 09/04/2017. | ||
*/ | ||
public class ServerLog implements ChannelSetting{ | ||
@Override | ||
public String type() { | ||
return Command.CHANNEL_SERVER_LOG; | ||
} | ||
|
||
@Override | ||
public boolean isSetting() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package Commands.BlackList; | ||
|
||
/** | ||
* Created by Vaerys on 04/04/2017. | ||
*/ | ||
public class BlacklistEditModes { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package Commands.BlackList; | ||
|
||
/** | ||
* Created by Vaerys on 04/04/2017. | ||
*/ | ||
public class EditBlackList { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package Commands.BlackList; | ||
|
||
/** | ||
* Created by Vaerys on 04/04/2017. | ||
*/ | ||
public class ListBlackLists { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package Commands.BlackList; | ||
|
||
/** | ||
* Created by Vaerys on 04/04/2017. | ||
*/ | ||
public class NewBlackList { | ||
|
||
//todo this. | ||
} |
Oops, something went wrong.