Skip to content

Commit

Permalink
シャッフルリストのロード不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tissueMO committed Aug 22, 2024
1 parent 5fee0ab commit 2e9a468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/discord/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ client.once('ready', async () => {
try {
shuffleChannels = await Promise.all(
Array.from(JSON.parse(await fs.readFile(SHUFFLE_FILE)))
.map(id => client.channels.cache.fetch(id))
.map(id => client.channels.fetch(id))
);
} catch {
shuffleChannels = [];
Expand Down

0 comments on commit 2e9a468

Please sign in to comment.