pycord icon indicating copy to clipboard operation
pycord copied to clipboard

More examples

Open ArkanLabsTeam opened this issue 5 years ago • 12 comments

Summary

More examples of new features

What is the feature request for?

The core library

The Problem

There aren't many examples of new features which makes it a bit harder to figure out how to use an alpha feature. Adding more examples would make it easier for the entire community to get to know how to use the newest features.

The Ideal Solution

Add more examples

The Current Solution

A small amount of examples

Additional Context

No response

ArkanLabsTeam avatar Oct 03 '21 13:10 ArkanLabsTeam

What would the new examples be for?

Dorukyum avatar Oct 03 '21 13:10 Dorukyum

What would the new examples be for?

Maybe using slash commands with cogs, can't really seem to find them anywhere. There also could be an example bot, complete with cogs (since that's what most people are going to end up using anyways) to illustrate how everything can be integrated with cogs.

ghost avatar Oct 21 '21 11:10 ghost

I'd be happy to write an example bot

BenDev9 avatar Oct 25 '21 13:10 BenDev9

What would the new examples be for?

Maybe using slash commands with cogs, can't really seem to find them anywhere. There also could be an example bot, complete with cogs (since that's what most people are going to end up using anyways) to illustrate how everything can be integrated with cogs.

Update: A slash cog example has been added with #341.

Dorukyum avatar Nov 07 '21 11:11 Dorukyum

I'd be happy to write an example bot

There are bot examples such as basic_bot.py.

Dorukyum avatar Nov 07 '21 11:11 Dorukyum

What about more info about dropdown menus, or other smaller features? i struggled to find an example for editing the message with the specific embed when the user reacts with the respective field. There could be a lot more examples related to things like this even in the official docs.

pratheek78 avatar Nov 08 '21 13:11 pratheek78

What would the new examples be for?

Would be nice to add/improve the example for persistent views. Like currently it seems that the persistent view for buttons is for a seperate bot / a bot without a cog. But I think its really needed to also add an example for how to use persistent views in a cog. When a bot has multiple features its kind of a must have to use them in a cog.

I already tried using them in a cog but I am facing issues. An example would really help to understand how that works.

martinbndr avatar Nov 23 '21 17:11 martinbndr

#484

krishsharma0413 avatar Nov 23 '21 17:11 krishsharma0413

image Seems that got outdated

martinbndr avatar Nov 23 '21 17:11 martinbndr

Not just code examples, but screenshots of how the examples would look within Discord would make such examples even more useful.

DefiDebauchery avatar Feb 16 '22 07:02 DefiDebauchery

yeah this would be quite ueseful, ngl

pratheek78 avatar Feb 19 '22 14:02 pratheek78

Closing this issue as it's too generic and creating examples is possible by anyone - just submit a PR. It's not really a request for the library itself that needs to be tracked.

krittick avatar Feb 27 '22 23:02 krittick