Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of stateful bot with pdictng #125

Open
itdaniher opened this issue Feb 17, 2022 · 3 comments
Open

Example of stateful bot with pdictng #125

itdaniher opened this issue Feb 17, 2022 · 3 comments

Comments

@itdaniher
Copy link
Contributor

No description provided.

@deepfates
Copy link
Contributor

As i'm trying to build a simple stateful synonym bot, I'll note some obstacles here:

  • DB is hardcoded to a supabase instance i don't control
  • If i start a new supabase instance:
    • Unclear what to use for PAUTH envvar
    • Unclear how to initiate db model. or will this happen automatically?

Once I do have an appropriate db and PAUTH:

  • Get a warning from aiohttp.client:
    RuntimeWarning: coroutine 'noop' was never awaited
    • This doesn't seem to affect successful operation of the bot
  • Can't use aPersistDict in dictionary comprehensions. solved this by accessing .dict_ attribute. is this correct?

@cxloe
Copy link
Contributor

cxloe commented Mar 1, 2022

giving this a bump

@deepfates
Copy link
Contributor

there are some bots already live and working with pdictng right? is this issue more about documentation then? i think i could help with that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants