aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/hacktober/halloween_facts.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-20 13:57:48 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-20 13:57:48 +0100
commit0aa51a95edc5535cbafbec3344fe68adaa308c76 (patch)
tree6841976529356668c3293ec8467ddb82918212bb /bot/cogs/hacktober/halloween_facts.py
parentMerge branch 'hundredrab-master' (diff)
parentfixing lockfile (diff)
Merge branch 'meooow25-spookysound'
Diffstat (limited to 'bot/cogs/hacktober/halloween_facts.py')
-rw-r--r--bot/cogs/hacktober/halloween_facts.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/cogs/hacktober/halloween_facts.py b/bot/cogs/hacktober/halloween_facts.py
index 304d5d94..bd164e30 100644
--- a/bot/cogs/hacktober/halloween_facts.py
+++ b/bot/cogs/hacktober/halloween_facts.py
@@ -7,6 +7,8 @@ from pathlib import Path
import discord
from discord.ext import commands
+from bot.constants import HACKTOBER_CHANNEL_ID
+
SPOOKY_EMOJIS = [
"\N{BAT}",
"\N{DERELICT HOUSE BUILDING}",
@@ -18,7 +20,6 @@ SPOOKY_EMOJIS = [
"\N{SPIDER WEB}",
]
PUMPKIN_ORANGE = discord.Color(0xFF7518)
-HACKTOBERBOT_CHANNEL_ID = 498804484324196362
INTERVAL = timedelta(hours=6).total_seconds()
@@ -32,7 +33,7 @@ class HalloweenFacts:
self.last_fact = None
async def on_ready(self):
- self.channel = self.bot.get_channel(HACKTOBERBOT_CHANNEL_ID)
+ self.channel = self.bot.get_channel(HACKTOBER_CHANNEL_ID)
self.bot.loop.create_task(self._fact_publisher_task())
async def _fact_publisher_task(self):