mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-30 07:06:24 +00:00
added unmute command to end all mutes, and remove the current one, this also cancels all running jobs, so we need to store the triggers
enabled voice state cache, as its necessary for voice state operations kick user out of voice chat, if they are in any changed unmute date to the the effective date of the unmute, instead of the planned date added possibility to stop a job via the trigger key
This commit is contained in:
@@ -32,7 +32,7 @@ public class BotServiceBean implements BotService {
|
||||
public void login() throws LoginException {
|
||||
JDABuilder builder = new JDABuilder(System.getenv("TOKEN"));
|
||||
|
||||
builder.setDisabledCacheFlags(EnumSet.of(CacheFlag.ACTIVITY, CacheFlag.VOICE_STATE));
|
||||
builder.setDisabledCacheFlags(EnumSet.of(CacheFlag.ACTIVITY));
|
||||
builder.setBulkDeleteSplittingEnabled(false);
|
||||
|
||||
this.instance = builder.build();
|
||||
|
||||
Reference in New Issue
Block a user