Skip to content

Commit e383ec6

Browse files
committed
2.0.1
1 parent c4e9a83 commit e383ec6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
### Removed
1515

1616
### Fixed
17+
- 不要なインテントを要求していた問題を修正
1718

1819
### Security
1920

core/src/main/java/dev/felnull/itts/core/discord/Bot.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public void start() {
4343
registeringCommands();
4444

4545
this.jda = JDABuilder.createDefault(getConfigManager().getConfig().getBotToken())
46-
.enableIntents(GatewayIntent.MESSAGE_CONTENT, GatewayIntent.GUILD_PRESENCES)
47-
.enableCache(CacheFlag.ACTIVITY)
46+
.enableIntents(GatewayIntent.MESSAGE_CONTENT)
4847
.addEventListeners(new DCEventListener(this), this.connectControl.getAdaptor())
4948
.build();
5049

0 commit comments

Comments
 (0)