Skip to content

OnlyTunesRadio/bot-template

Repository files navigation

Discord Bot

wakatime DeepSource

Discord Bot is a bot made for something written with Javascript

Features

TBD

Setup

  1. Install Git

  2. Install Node.js

  3. Create a Discord Application and get the bot token from there

  4. Invite the bot using the link available in the OAuth2 page

  5. Clone the repo using git clone

  6. On the folder of the repo, use npm install to transfer the necessary packages.

  7. Create a .env file with two parameters:

    DISCORD_TOKEN= - this is where you put your bot token obtained on 3.

    PREFIX= - a prefix like !

  8. Run the bot using node index.js or just node .

    You should see a Ready! message when the bot is ready to accept commands. You can try using ping for that.

  9. You're done!

Built With:

Contribute

Do you have any good idea? Do you wanna contribute in building new features? Look into the Issues panel and check our current stuff. Everyone is welcome to participate on the project.

Authors

  • CaldeiraG

License

MIT License

Copyright (c) 2020 CaldeiraG

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.