Git Product home page Git Product logo

tinan's Introduction

Important: we are migrating to a new Discord server .gg/avdanos

Tinan

The Discord Bot for the AvdanOS Community Discord server, made using discord.js v13.8.

How to contribute

Forking

Step 1: Make a contribution fork of this repository.

Setting up a Discord bot

Step 2: Go to the Discord Developer Portal and log in with your account.

Step 3: Click on the "New Application" button near your profile picture on the upper right side of your screen and create a new application. Name it anything you want.

Step 4: Click on the "Bot" button on the left side of your screen and create a new bot.

Step 5. Invite your bot to your server.

Step 5.1: Click on "OAuth2", afterward "URL Generator". Select bot and applications.commands.

Step 5.2: Select "Administrator" in the list of bot permissions.

Step 5.3: Copy the link at the bottom of the page and paste it into your search bar. Select the server where you want your bot to be in the dropdown list.

Step 6: Reset your bot's token and copy it. It will be used later.

Making it work

Step 7: Inside the src folder, make a .env file, and type DISCORD_TOKEN=your token and PREFIX=your prefix

Step 8. Get your Discord server ID

Step 8.1: Enable developer mode by going into Settings (near your profile picture at the bottom) > Advanced > Developer Mode.

Step 8.2: Copy your server ID by right clicking the server icon and clicking "Copy ID".

Step 9: Inside the src > commands folder, open cmdHandler.js and in the 57th line, replace the number in a string with your ID.

Step 10: In your terminal, run npm install. It will install all the modules needed to run the bot.

Step 11: Run cd src and afterward node . to launch the bot.

How to make commands

Step 12: In the commands folder, there are 2 example.js files. You can use them as a reference to build new commands.

Pull requests

Step 13: Remember to put a short and concise list of changes to make the review process easier.

tinan's People

Contributors

golem642 avatar mrserge01 avatar padmanabh82 avatar projm-coding avatar techstudent10 avatar laughingsheep avatar mcuxdaredevil avatar froxcey avatar linuxjava7 avatar kenan238 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.