Coder Social home page Coder Social logo

tinan's Introduction

Tinan

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

Setup

  1. Make a contribution fork of this repository.

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

  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.

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

  5. Invite the bot to your server:

    1. Click on "OAuth2", afterward "URL Generator". Select bot and applications.commands.

    2. Select "Administrator" in the list of bot permissions.

    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.

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

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

  8. Get your Discord server ID:

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

    2. Copy your server ID by right clicking the server icon and clicking "Copy ID".

  9. Inside the src/commands folder, open cmdHandler.js and find const goosStanding, and replace the number in the parentheses (after message.guild.emojis.fetch) with the copied ID.

  10. In terminal, run npm install to install all the necessary modules/

  11. Run cd src and node . to launch the bot.

Adding commands

In src/commands, there are 2 example.js files. You can use them as a reference to build new commands.

Contribution

Remember to put a short and concise list of changes to make the review process easier. Pull Requests on this repository won't be reviewed often due to the main focus being the Desktop Environment.

tinan's People

Contributors

froxcey avatar golem642 avatar kenan238 avatar kerichdev avatar laughingsheep avatar lazycat2 avatar linuxjava7 avatar mcuxdaredevil avatar mrserge01 avatar padmanabh82 avatar projm-coding avatar rohith0009 avatar stonemcyt avatar techstudent10 avatar xapu1337 avatar xavatar6969 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tinan's Issues

[Feature Request] Add customized member welcome images to new member messages

I made this suggestion in the Discord server and was referred here, so I'll copy over what I wrote in the Discord. Sorry if the formatting is weird or whatever, as I'm submitting this issue from the GitHub app.

Instead of just posting a message for new users, what if every time a new user joins the bot also posts a image like the one below, with the users profile picture and username.
image

Edit: I took a bit of time and made a mock-up of how this could look.
Here it is on Web/ Desktop: image
on Tablet/ iPad:
image
and on Mobile/ iPhone:
image

README.md consistency

There is a banner for Tinan present in the Docs section of the avdanos.com website, why not have it in here as in all the other repositories?

[BUG] - Node ./src/index.js failure

Running node ./src/index.js does not work and results in a invalid token error

it requires me to

cd src
node .

Fix
Allow node ./src/index.js so that the bot can be run in the control panel which uses docker which depends on node ./src/index.js

test

a test GH issue to test a webhook

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.