help XD i'm new to coding, i recently tried making a discord bot with the tutorial

i’m new to coding, i recently tried making a discord bot with the tutorial.

do you know how to make a event where the bot will generate a random number from 1-10 and a user that guesses the number will win it

Firstly, welcome to the forums.

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

It is pretty typical on here for people to share a codepen / repl.it / jsfiddle example of what they have tried so that anyone helping has more of an idea of what help is actually helpful.

Please provide some example of what you’ve tried and I’m sure you’ll get more help.

Happy coding :slight_smile: