An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
June 21, 2022 07:29 am GMT
Original Link: https://dev.to/abdfnx/botway-generate-build-handle-and-deploy-your-own-bot-with-your-favorite-language-for-discord-or-telegram-or-slack-2lam
Botway - Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack.
Don't forgot to star the repo if you like it
Generate, build, handle and deploy your own bot with your favorite language, for Discord, or Telegram, or Slack.
With botway, you can focus on your bot's logic and don't worry about the infrastructure. and we will take care of the rest.
Botway uses Railway to host your bot code and database.
Requirements
Installation
NPM
# npmnpm i -g botway# yarnyarn global add botway# pnpmpnpm add -g botway
Using script
- Shell
curl -sL https://bit.ly/botway | bash
- PowerShell
iwr -useb https://bit.ly/bw-win | iex
then restart your powershell
Homebrew
brew install abdfnx/tap/botway
Scoop
scoop bucket add botway https://github.com/abdfnx/botwayscoop install botway
Usage
- Initialize
~/.botway
botway init
- Authenticate with Railway
botway login
- Open Botway TUI
botway
- Create a new botway project
botway new <project-name>
- Manage your bot tokens
botway tokens <command> [flags] <project-name>
- Start running your bot
# Under the project directory botway start
- Manage your bot database
# Under the project directory botway database <command>
- Deploy and upload project to Railway from the current directory
# Under the project directory botway deploy
- Run a local command using variables from the active environment
# Under the project directory botway run <command>
Roadmap
You can see the Roadmap
Keyboard shortcuts
- Up: Move up
- Down: Move down
- Tab: Switch windows
- Ctrl+O: Open bot project at Railway
- Esc: Reset
- Ctrl+Q: Quit
Technologies Used in Botway
Special thanks
Thanks to @charmbracelet for thier awesome TUI libraries .
Also thanks to @railwayapp for amazing cloud services .
License
botway is licensed under the terms of MIT license.
thank you for your time and don't forgot to star the repo if you like it
Original Link: https://dev.to/abdfnx/botway-generate-build-handle-and-deploy-your-own-bot-with-your-favorite-language-for-discord-or-telegram-or-slack-2lam
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To