Im working on a discord.py bot that will notify in my discord when it finds players in…
Jump to turn (35)
- 1Im working on a discord.py bot that will notify in my discord when it finds play
- 2How would I use celery for something like this, and implement it in a discord.py
- 3Could you write me an indepth step by step tutorial, with full examples and an o
- 4continue from step 8
- 5Perfect thank you! Now for the end of the tutorial, could you write out a diagra
- 6continue from cogs/pinata\cog.py:
- 7continue from async def check\pinatas\status(self):
- 8Could you redo it all, and not use celery, and instead just use the bultin tasks
- 9Forget what we talked about before, here's some new things. Could you help me re
- 10continue
- 11continue
- 12continue
- 13Right now the banned pinatas are all just in one list in mongodb, is there any b
- 14There are several thousands of banned pinatas, and every time I check the stats
- 15Set seems like the best option, but I also need the banned list to persist throu
- 16continue from: "Another way is to save the banned list in a database like MongoD
- 17How should the mongodb document be modeled?
- 18I meant if its a set list, how should the odmantic mongodb model look?
- 19Check for performance issues, security issues, make the code more readable and c
- 20continue
- 21Wow thats pretty good! I feel like its a bit too split up between functions now
- 22What are the easiest python libraries/packages to use with mongodb? async and ea
- 23Could you show me examples of how the model files would look for a discord user
- 24continue
- 25continue
- 26What about beanie the odm?
- 27How would these python files look if they were using beanie instead of odmantic?
- 28Whats a timeseries in mongodb
- 29If I wanted to keep stats of all my guild members in the mmo I play, and save th
- 30I meant how would it look in python code. In my discord.py bot. How would the od
- 31for i in range (turns): decision = await bot.wait\for('message') if decision.con
- 32Why does it wait for the message? for i in range (turns): decision = await bot.w
- 33what happens if you use the await wait\for, without any check?
- 34How would I make my own events to listen to and act on in a discord.py bot
- 35What if I wanted the custom event to be when something in my database updates?
- User
Im working on a discord.py bot that will notify in my discord when it finds players in the mmo game called "simple-mmo" that have lots of gold, and are able to be pvp'd. It gets this info via the public api. To do this it will have to search through thousands of players, save their stats, if they have the gold, but arent attackable it will have to check them again in a few minutes to see if they're attackable yet, if their gold is under the limit I care about, it will remove them from the list/storage and so on. Im having a really big problem figuring out how I should architect the algorithms and functions, and how I should model my data to handle all this efficiently. Do you have any tips on how I could architect this?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.