kaitlinms / nodiggitynobot Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Maybe this only happens if she's offline?
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "C:\Users\smith\Documents\GitHub\NoDiggityNoBot\bot.py", line 976, in on_message
await decide_command(message)
File "C:\Users\smith\Documents\GitHub\NoDiggityNoBot\bot.py", line 429, in decide_command
await bot_say("{0.mention}, what time is it?!?!".format(bot.get_user(639547102023647233)), bot.general_channel)
AttributeError: 'NoneType' object has no attribute 'mention'
Is this even possible? If not, the bot should send a message to remind people to only vote once.
The bot needs to store all of the proposed movies and their votes.
Maybe this is related to the user who does the pooping not being online?
Traceback (most recent call last):
File "C:\Users\smith\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "C:\Users\smith\Documents\GitHub\NoDiggityNoBot\bot.py", line 1003, in on_raw_reaction_add
await check_reactions(message, user)
File "C:\Users\smith\Documents\GitHub\NoDiggityNoBot\bot.py", line 66, in check_reactions
await check_reactions_movie_channel(m, user)
File "C:\Users\smith\Documents\GitHub\NoDiggityNoBot\bot.py", line 91, in check_reactions_movie_channel
await bot.general_channel.send('{0} has been ๐ฉ\'d by ||{1}||!'.format(m.content, user.display_name))
AttributeError: 'NoneType' object has no attribute 'display_name'
Ignoring exception in on_message
Not sure where, but very sure that it's necessary.
We need to allow:
This should help when we have muti-way ties.
Discord now allows you to make "bot commands", which is when you add a slash in front of a command: /status
This will allow folks to see all of the available commands, and is just a more standard way to interact with a bot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.