Replace the values in the brackets [] with your name/server/champion. You can use any for the server and champion name inputs as a wildcard for the highscore display.
So for example /u/mastery_bot will@champion any / any will display a top 20 list for any champion and any server.
A few weeks ago I created my first reddit bot but I didn't end up doing much with it. Seeing how popular u/LeagueScan_bot's post became (Which you can find here) I thought I'd share mine aswell.
To trigger the bot all you have to do is tag the bot u/mastery_bot, and then add the summoner name and the server. The bot will than lookup some basic information about your mastery points, ranking and played champions and send a reply.
So for example: u/mastery_bot crecket / euw. This will cause the bot to reply with something like the following: