bertik23 / bdbf Goto Github PK
View Code? Open in Web Editor NEWBertik23's DiscordBot framework
License: MIT License
Bertik23's DiscordBot framework
License: MIT License
The default of fields in embed() is None and raises an error
Ignoring exception in on_message
Traceback (most recent call last):
File "d:\Python\TheBot\venv\lib\site-packages\discord\client.py", line 312, in _run_event
await coro(*args, **kwargs)
File "d:\Python\TheBot\venv\lib\site-packages\bdbf\main.py", line 130, in on_message
await self.useCommand(msg)
File "d:\Python\TheBot\venv\lib\site-packages\bdbf\main.py", line 101, in useCommand
await self.tryCommand(msg, cmd, args)
File "d:\Python\TheBot\venv\lib\site-packages\bdbf\main.py", line 84, in tryCommand
File "d:\Python\TheBot\commands.py", line 98, in gymsoCommand
e = client.embed(clanek[0], url=clanek[1], description=clanek[2][:2048])
File "d:\Python\TheBot\venv\lib\site-packages\bdbf\main.py", line 220, in embed
return embed(title,footer=self.embedFooter, color=self.embedColor, **options)
File "d:\Python\TheBot\venv\lib\site-packages\bdbf\functions.py", line 86, in embed
for i,f in enumerate(fields):
TypeError: 'NoneType' object is not iterable
This can be solved by stating embed(title, fields=())
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.