dxsmiley / latexbot Goto Github PK
View Code? Open in Web Editor NEWDiscord bot that renders LaTeX equations.
Discord bot that renders LaTeX equations.
File "latexbot.py", line 85, in
@chanrestrict.apply
File "C:\Users\leopa\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\client.py", line 732, in event
raise ClientException('event registered must be a coroutine function')
discord.errors.ClientException: event registered must be a coroutine function
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x0000019D6A04FD30>
<myusername>@raspberrypi:~/Python/LatexBot $ python3 latexbot.py
Traceback (most recent call last):
File "/home/<myusername>/Python/LatexBot/latexbot.py", line 36, in <module>
class LatexBot(discord.Client):
File "/home/robber/Python/LatexBot/latexbot.py", line 76, in LatexBot
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?
This is the error i run into when trying to run the bot.
Raspberry Pi 5, Raspberry Pi OS
If I am the owner of a server, is it possible for me to have all latex commands rendered on my machine, then sent to the chat? I am currently having problems with the bot using the remote or external feature. any help would be appreciated.
If i am misunderstanding this or does the local
option attempt to render it on my machine?
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.