Maakt het makkelijker om te testen, en is sowieso betere manier denk ik
This commit is contained in:
@@ -5,6 +5,7 @@ from pprint import pprint
|
||||
import time
|
||||
import numpy as np
|
||||
import random
|
||||
import os
|
||||
from datetime import datetime
|
||||
|
||||
class Points(commands.Cog):
|
||||
@@ -264,7 +265,7 @@ class Points(commands.Cog):
|
||||
np.save("pointscount.npy", pointsCount)
|
||||
|
||||
# Add new/unknown members:
|
||||
list_channel = self.bot.get_channel(self.bot.hdChannels["shitpost"])
|
||||
list_channel = self.bot.get_channel(int(os.getenv('STROOP_CHANNEL_SHITPOST')))
|
||||
memberList = list_channel.members if list_channel else []
|
||||
for member in memberList:
|
||||
# Give new members 100 points
|
||||
|
||||
Reference in New Issue
Block a user