Skip to content

ashKet3/DareMaster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DareMaster

DareMasterBot is a Telegram bot that provides users with random truth or dare questions. It uses the grammY framework.

Features

  • /start command: Sends a welcome message to the user.
  • /truth command: To get a truth question.
  • /contact command: To get a dare question.
  • Inline query: Responds to inline queries with random truth or dare questions.

Setup

  1. Install the grammY package:

  2. Set up your environment variables:

BOT_TOKEN=YOUR BOT TOKEN
SERVER_URL=WEBHOOK URL
  1. Run the bot:
npm run dev

Usage

  • Use the /start, /truth, and /dare commands to interact with the bot.
  • Use inline queries to get random truth or dare questions.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT License

Copyright (c) 2022

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Thanks For Visiting

Hope you liked it. Wanna support?

About

Telegram bot to help you and your friends play the Truth or Dare game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%