04.08.2019 · What I'm trying to do is to make my discord bot send a message to a channel in my server when I supply it the command "!say" through DM. ... Discord.py 'NoneType' object has no attribute 'send' 0. Command raised an exception: AttributeError: 'File' object has no attribute 'to_dict' for Discord bot. 0 'NoneType object has no attribute ...
I'm trying to make a discord bot using python and when I run basic code it returns "AttributeError: 'NoneType' object has no attribute 'strip'" I'm fo ...
13.11.2021 · AttributeError: 'NoneType' object has no attribute 'send' and i have done some research but i found literally nothing i hope you guys can help me:) i …
AttributeError: 'NoneType' object has no attribute 'strip'. I was learning how to make a discord bot using discord.py with this freecodecamp video. I did the same code side by side but in vscode. Here is the code I'm referring to: import discord import os client = discord.Client () @client.event async def on_ready (): print ('We have logged in ...
Discord Bot - "Attribute Error: 'NoneType' object has no attribute 'strip.' ... a file named .env in the same directory as bot.py:" - this was my issue.
I'm a new coder, and I've been following atutorial on how to create a discord bot with the code below having been virtually copied the code straight out from the tutorial, and I've create a .env fi...