nostrum icon indicating copy to clipboard operation
nostrum copied to clipboard

Expanding the example bot section

Open jchristgit opened this issue 10 months ago • 6 comments

The current "example bot" listing on the README would benefit from having more bots than the existing ones listed. We have two small examples and bolt, which is very big and complex and might not be very easy to understand for beginners.

Expand the list with other bots from our community.

jchristgit avatar Apr 27 '24 16:04 jchristgit

Looking for bots that use nosedrum? I could probably update my example bot to be slightly more detailed. It uses nosedrum, and has a couple regular simple commands, and I could make a slightly more complex command that uses a genserver to run tasks in the background. Should demonstrate enough to get someone up and running with nostrum and nosedrum, both with text commands and application commands.

kshannoninnes avatar May 01 '24 15:05 kshannoninnes

Hey, thank you for reaching out, this sounds good!

I'm not sure you need to necessarily expand it to be more detailed if you don't need it. I'd be more than happy to include your bot as-is, all I'm looking for is to provide some more inspirations on how to build a simple bot with nostrum (and optionally nosedrum, like you do!).

Do you have a link?

jchristgit avatar May 02 '24 16:05 jchristgit

It's very basic atm and only deals with Application Commands. I'm planning on adding Text Commands but it's on the backburner atm as I have a couple of uni assignments to finish off over the next 10 days.

https://github.com/kshannoninnes/sample_bot

kshannoninnes avatar May 02 '24 19:05 kshannoninnes

Ive also got a pretty small bot (iirc <200 lines) that I could put up on github for you, although it doesnt use nosedrum and just has some basic command handling done by hand.

Leastrio avatar May 02 '24 19:05 Leastrio

On Thu, May 02, 2024 at 12:36:19PM -0700, K. Shannon-Innes wrote:

https://github.com/kshannoninnes/sample_bot

Thank you! I've added this in PR #575.

jchristgit avatar May 04 '24 07:05 jchristgit

On Thu, May 02, 2024 at 12:55:20PM -0700, Leastrio wrote:

Ive also got a pretty small bot (iirc <200 lines) that I could put up on github for you, although it doesnt use nosedrum and just has some basic command handling done by hand.

We have the example event consumer which I think does something similar, but maybe you have something more that you could add to it?

jchristgit avatar May 04 '24 07:05 jchristgit