So apparently I have been trying to make a simple Discord spam messages bot, the problem is that I cant insert a def function into a dictionary can you help me with