Skip to content

Commit 56bc212

Browse files
committed
Fix bug with data collection
1 parent a7c2387 commit 56bc212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ async def on_ready(self):
482482
"Failed to close thread with channel %s, skipping.", log["channel_id"]
483483
)
484484

485-
if self.config["data_collection"]:
485+
if self.config.get("data_collection"):
486486
self.metadata_loop = tasks.Loop(
487487
self.post_metadata,
488488
seconds=0,

0 commit comments

Comments
 (0)