PMBot - Discord Bot for @Promo-Mentors
Repository
https://github.com/CodeBull/PMBot
PMBot is a workshop manager bot for @promo-mentors. If you don't know they run several workshops on their Discord server on various subjects. There were facing difficulty in managing the workshops. This bot is the result of the discussion I had with the founder @futurethinker.
How it works?
First, a manager adds mentors who will run the workshops. Both managers and mentors can add workshops on specified channels, the bot will create specific roles for each of the workshops. Users then can list the available workshops and join them by paying as low as 0.001 SBD and get the role predefined for that workshop.
When a mentor opens a workshop, users with the workshop's role will get notified through mention and can access the channel they workshop will be held. After completion of the workshop, the mentor can show a closing message and close after some time. Closing a workshop will remove workshop role from the subscribers and close the channel for them. So, they can subscribe again for the next session.
Commands
$add-mentor
adds a mentor
Format: $add-mentor [@DISCORD NAME] [STEEM USERNAME]
Example: $add-mentor @futurethinker futurethinker
$add-workshop
adds a new workshop
Format: $add-workshop ['TITTLE'] [#CHANNEL] [@MENTOR] [WEEKDAY] [TIME] [PRICE]
Example: $add-workshop 'Feedback workshop' #general-feedback-session @futurethinker Saturday 09:00-11:00 0.001 SBD
$open-workshop
opens a workshop
Format: $open-workshop [WORKSHOP ID]
Example: $open-workshop 4325
$close-workshop
closes a workshop
Format: $close-workshop [WORKSHOP ID]
Example: $close-workshop 4325
$show-message
shows a predefined message
Format: $show-message [TYPE]
Example: $show-message closing
$show-message closing
shows closing message
$schedule
shows the list of workshops
$join-workshop
subscribes to a workshop
Format: $join-workshop [WORKSHOP ID]
Example: $join-workshop 4325
$tip
generates a link to tip a mentor
Format: $tip [MENTOR] [AMOUNT]
Example: $tip @futurethinker 1 SBD
Technologies
- Node JS
- Discord.JS
- Discord.JS-commando
- MongoDB
- dSteem
Roadmap
- Workshop edit/delete/pause/resume commands
- Mentor delete/update commands
- Stats generator commands
- Some automation e.g. payment auto validation
Contributing
When contributing to this repository, please first discuss the change you wish to make via issue or Discord with me. But you are free to make your own copy and use it.
Pull Request
https://github.com/CodeBull/PMBot/pull/1
Thank you for your contribution. I did not know about discord.js-commando, seems like a good library. How the run function is being called?
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Discord.js-commando is an awesome library to make Discord bots, it extends Discord.js. It standardizes bot commands. I am using it in all my Discord bots.
Run function is called automatically when a command is typed as the individual command classes extend parent
Command
class. But we can call it programatically too if we need to run another command from a command or from main bot script. I have not dug deeper into the library, just read documentation.Thank you for taking time in evaluation my contribution.
Hey @reazuliqbal
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
You got a 73.17% upvote from @bdvoter courtesy of @zaku!
Delegate Your SP to us at @bdvoter and earn daily 100% profit share for your Delegation & Reward will be Distributed Automatically Daily.
500 SP, 1000 SP, 2500 SP, 5000 SP, 10000 SP.
If you are from Bangladesh and looking for community support, Join Steemit Bangladesh Discord Server & If you want to support our service, please set your witness proxy to Steemit Bangladesh.
Thanks for your information @reazuliqbal
i can't understand how it works whom to sent 0.001 sbd ?
Hey, 0.001 SBD was used as an example, a workshop could be priced at any price equal and above 0.001 SBD. This is not a bid bot, this is a workshop manager bot for @promo-mentors, the bot will give you a link and instructions to complete the transaction when you want to join a workshop on their Discord server.
Send me discord server link
Here it is https://discord.gg/49z469d. The bot is in testing among the mentors and team members, so you won't able to use it right now.
Well done @reazuliqal!
I think this bot is an amazing addition to our community to make giving out workshops easier!
Congratulations,
you just received a 18.76% upvote from @steemhq - Community Bot!
Wanna join and receive free upvotes yourself?
Vote for
steemhq.witness
on Steemit or directly on SteemConnect and join the Community Witness.This service was brought to you by SteemHQ.com
Very nice. I have been out of programming so long I'd have to start over. It's awesome to create something so useful.
Please start again. Its so satisfying. :)
Well, new job starting soon and I'll have more time, I guess I'll just have jump back in.