Simple Discord bot using Discord.js module and Discordjs Guide.
git clone https://github.com/MasterBrian99/Discord-bot-miku.git
edit env
file as .env
and add token in this line file
BOT_TOKEN=
npm install
npm start
Command | Description |
---|---|
-miku gituser username |
Get github user infomation |
-miku gitrepo github repository name (MasterBrian99/Discord-bot-miku) |
Get github repository information |
-miku covid country name |
Get github user infomation |
-miku joke | Get a random joke |
-miku quote | Get a random quote |
-
Discord.js module - interact with the Discord API
-
Discordjs Guide - discord.js bot guide
-
GitHub REST API - interact with github
-
Covid-19-API - get information about covid Situation
-
zenquotes - random quote
-
one-liner-joke - random joke
You can use any Node.js hosting platform to host this bot
i created this bot to learn how to work with discord API.everything written in based on Discordjs Guide. so if you are new to Discord.js module, refer this repository.maybe it will help you.
Copyright (c) 2020 pasindu p konghawaththa
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.