Comments (2)
No manager seems to be registered for the app.bot
file. This is unexpected behavior, could you share the project files? (If you don't want it publicly, send me in a discord dm please)
from pincer.
Here is the simplest structure that cause the issue:
- app
- __init__.py
- bot.py
- run.py
bot.py
from pincer import Client
class Bot(Client):
def __init__(self, *args, **kwargs):
super(Bot, self).__init__(*args, **kwargs)
@Client.event
async def on_ready(self):
print("hello, world")
__init__.py
from .bot import Bot
__all__ = ('Bot',)
run.py
import app
import dotenv
if __name__ == '__main__':
app.Bot(dotenv.dotenv_values('.env').get('TOKEN')).run()
from pincer.
Related Issues (20)
- :bug: Workflow "sort-all" fail when nothing to commit HOT 2
- :sparkles: Better way to register guild commands HOT 2
- :bug: Readme links to a 404 HOT 1
- :bug: Using enum.Enum for Flags HOT 1
- Proper Shutdown Capabilitiy HOT 9
- Error handling on message delete HOT 1
- ``UserMessage.from_id`` types are playing up HOT 1
- :bug: Incorrect TextChannel types
- :bug: `send` typing is lackluster
- Add a way to see if a UserMessage is a system message HOT 1
- Aggregate message mentions HOT 1
- :bug: GuildMember.permissions does not take account of owner HOT 1
- :bug: Undocumented feature on ``Guild.from_id``
- ``*.from_id`` caching HOT 1
- Error handling HOT 1
- ``Client(intents=..)`` is typed wrong (maybe) HOT 1
- :bug: ``UserMessage.type`` is missing HOT 3
- :bug: commands parameters are always str HOT 1
- Timeout support HOT 2
- :bug: Having loads of pre-registered `ApplicationCommands` causes you to be ratelimited `on_ready` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pincer.