The Discord Bot for the AvdanOS Community Discord server.

Related tags

Video/Audio Tinan
Overview

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", afterwards "URL Generator". Select bot and applications.commands.

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

Step 5.3: Copy the link in 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 in 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 afterwards node . to launch the bot.

How to make commands

Step 12: In the commands folder, there's 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.

Comments
  • Better goos react and link fix.

    Better goos react and link fix.

    Updated goos react so tinan reacts with more than just the goos standing. Tinan reacts with goos standing and 🇭 🇴 🇳 🇰👍. Also updated the youtube link to the correct link.

    opened by proJM-Coding 10
  • [BUG] - Node ./src/index.js failure

    [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

    bug 
    opened by StoneMcYT 6
  • TS-IFY! (this is a new branch, cbf to update the ts-rewrite branch)

    TS-IFY! (this is a new branch, cbf to update the ts-rewrite branch)

    What I did:

    • Remove old code base
    • Import a code base for a typescript bot I've created (repo can be found on my profile)
    • Add Event and Slash Command Handler
    • Port some commands from the old bot

    BUGS / TODO:

    • LOA Needs to be checked
    • apparently bot cannot build? (it builds, but commands do not load commands in prod.)
    • Add modals and contextmenus?

    USAGE:

    • This is strict typescript, meaning that interactions sometimes yield multiple types (Original type we want, and an "API" version, this version is pretty much useless, so we need to cast most things. (like: (interaction.user as User).id;
    • Commands and events basically are classes where it just uses constructors for everything we need (builder data, permissions and run function)
    opened by Xapu1337 5
  • [Feature Reuqest] - Support the Minecraft Server

    [Feature Reuqest] - Support the Minecraft Server

    Things to add: a IP and dynmap command to grab the server IP and the dynmap URL - Should be configured in config.json and adding a server status API support (https://api.mcsrvstat.us/) - Should be able to config in config .json

    opened by StoneMcYT 4
  • Add config.json file and loa slash command

    Add config.json file and loa slash command

    • Added a config file to access values dynamically instead of using constant strings
    • Added loa slash command that sets (not applies) loa for a developer and removes when they return
    opened by MCUxDaredevil 4
  • Problem in Readme:  line 57 of cmdHandler.js does not contain a string to replace

    Problem in Readme: line 57 of cmdHandler.js does not contain a string to replace

    In step 9 of the readme it instructs to "open cmdHandler.js and in the 57th line, replace the number in a string with your ID", however line 57 does not contain a string to replace to and reads message.delete() instead.

    opened by laughingsheep 2
  • Message (in comment) links to old YT channel.

    Message (in comment) links to old YT channel.

    "We have not finished developing AvdanOS, so there is not a download yet. We are currently working on the window manager. Subscribe to our Youtube channel for updates on our development." Message sent to reply to https://discord.com/channels/993464434855002163/993464434855002166/995230281495756941.

    opened by LucasoDevDotTk 1
  • add /demote

    add /demote

    Removes this roles:

    • senior dev
    • design lead
    • designer
    • team avdan OS
    • senior designer
    • translator
    • tester
    • dev
    • dev lead
    • contributor

    Sends error when

    • Target member has no roles to remove
    • Target member is bot
    • Target member is manager
    • Member that used command is not manager

    Bot sends DM to demoted member

    opened by LazyCat2 0
  • Tiny update to help.js

    Tiny update to help.js

    With this tiny change users can ping goos with a right click instead of a copy past. Also if goos changes their username or tag, developers don't have to edit this file.

    opened by xAvatar6969 0
  • Message handler fix + you can now rember

    Message handler fix + you can now rember

    I was bored in class so i did this on phone.

    • Fixed no reaction to "download avdan os" and other when avdan and os are sticked
    • Fixed some multiReact letter emojis problems
    • You can now rember 🗿
    opened by Golem642 0
  • The Grand Pull Request

    The Grand Pull Request

    Important changes

    • [x] Ported the bot to the latest discord.js version. (v14.0.3)

    Ported the bot to TypeScript

    • [x] Port examples
    • [x] Port utilities (like multiReact and handlers)
    • [x] Port Discord events
    • [x] Port other events
    • [ ] Port commands

    Added

    CONTRIBUTING.md

    • [x] Made the guide up-to-date!

    Proper events

    • [x] Made an events handler
    • [x] Made Discord events (like "messageCreate") as separate files
    • [x] Made Other events (like "honk") as separate files [buggy]
    • [x] Made Other events examples (similar to command examples)

    Changed

    README.md

    • [x] Added the banner
    • [x] Added badges

    Dependencies

    • [x] Updated octokit to the latest version
    • [x] Updated discord.js to the latest version

    Commands

    • [x] Embed-ified all responses that weren't an embed
    • [x] Rewritten the command handler

    Removed

    Dependencies

    • [x] NODEMON!!!!!!!
    • [x] eventsource
    • [x] @octokit/webhooks

    README.md

    • [x] Old contribution guidelines

    Actual code

    • [x] Normal commands

    Bug fixes

    • [ ] The LOA command requiring both Figma and GitHub accounts
    • [ ] The poll command having no buttons
    • [ ] The events not working
    • [ ] The commands not working

    Known issues

    • LOA command requires both Figma and GitHub accounts.
    • Poll command has no buttons.
    • Events not working.
    • Commands not working.

    People who... (Credits)

    Helped make events work:

    • @LazyCat2
    • @froxcey

    Helped port the bot to TS:

    • @Sammy99jsp

    Helped with bug fixing:

    • @LazyCat2
    • @froxcey
    • @Sammy99jsp

    Suggested features:

    Bug fixing example file:

    • @TechStudent10 (he left noooo)

    And of course, who created this PR?

    • @MrSerge01
    enhancement help wanted 
    opened by MrSerge01 33
  • Added auto-changing status

    Added auto-changing status

    • Instead of having 1 status the bot now changes to a different status every 10 seconds, It picks random statuses from the statusArray in index.js.
    • I also ran 'npm audit fix' in the terminal
    opened by Default-Box 0
  • [Feature Request] Add customized member welcome images to new member messages

    [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

    enhancement 
    opened by Marcus5408 1
Owner
AvdanOS
It's not only an OS; It's a workflow.
AvdanOS
A community Discord bot testnet faucet for thirdweb community. 💻🌏

Thirdweb Faucet (Discord Bot) ?? Nominate (@WarenGonzaga) as GitHub Star. If you appreciate his hardwork and dedication to open source. A dedicated Di

Waren Gonzaga 4 Aug 6, 2022
A configurable Discord Community server nuking bot with a small twist.

Quby Bot A configurable Discord Community server nuking bot with a small twist. The bot will perform these actions in the following order: When the bo

Oliver B 3 Sep 7, 2022
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023
Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot that handles all your server needs.

Welcome to Co-Pilot Bot repo! ?? ?? Co-Pilot (All-in-one Discord Bot) Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot

YMafalha 19 Nov 11, 2022
This bot can raise your mood. This bot send joke often our channel for users. Sometimes bot don't work because we have not server for this project...)

Hi, welcome to send-joke-bot telegram bot project ?? What can do this bot ? This bot can raise your mood. This bot send joke often our channel for use

Muhammadamin 5 Sep 26, 2022
This is discord bot specifically made for Community Classroom

Classroom Monitor Bot This bot provides functionalities for 'Community Classroom' discord server. Community Classroom is an initiative 'for the studen

Kaiwalya Koparkar 0 Apr 10, 2022
An open source community powered Discord bot to stop and remove the trash from the SW workshop.

SW Anti Reuploads & Trash Discord bot An open source community powered Discord bot to stop and remove the trash from the SW workshop. SW Discord · Cre

SIMPLE MARK 4 Jun 20, 2022
A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.

Suggestions A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff. St

Suggestions 4 Dec 24, 2022
Discord community bot for genicsblog.com

genics-bot Source code of discord bot for the genicsblog.com community. Local setup Clone the repo and cd: git clone https://github.com/genicsblog/gen

Genics Blog 5 Oct 3, 2022
OpenAI Discord Community's GPT-3 powered DALL·E 2 support bot

DALL·E Discord Bot OpenAI Discord Community's GPT-3 powered DALL·E 2 support bot This repository hosts the code for the OpenAI Discord Community's GPT

OpenAI 31 Nov 16, 2022
[WIP] Meet Koshiro! Our official Discord Bot, Open Source and Community builded. 🛸

Koshiro Meet Koshiro! Our official Discord Bot, Open Source and Community builded. ?? Getting Started Clone the repository git clone https://github.co

WebX DAO 5 Nov 19, 2022
🟢 OneForAll Support Bot - Is a support bot for the discord server of OFA!

?? OneForAll Support Bot - Is a support bot for the discord server of OFA! Setup You can setup OneForAll Support Bot by simply opening your terminal/c

baby 3 Oct 15, 2022
New base bot WhatsApp 🈴 bukan self bot lagi atau buka bot yang bisa di pakai oleh bot sendiri 😎

Installation • Thanks to • Donate Official Group Bot • Settings Instalasi Heroku Buildpack Click the deploy icon below ! > heroku/nodejs > https://g

zeeone 27 Feb 9, 2022
Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Remoklify 3 Mar 20, 2022
About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Umut Bayraktar 36 Dec 28, 2022
Discord Bot of the NCS's Discord server.

Installation Install dependencies npm install Start the server npm start Usage/Examples Create .env file touch .env Add this to the file TOKEN=y

NextCitizens 10 Sep 3, 2022
Mabicord AIO is a Discord bot that handles MMORPG Mabinogi's bugle messages, designed to serve a single Discord server.

Welcome to NamVr Discord Bot Template ?? An open source discord.js bot template which is based on official discord.js guide to get started on making y

Shane Lx 2 Jul 13, 2022
Aeona is a multi-purpose discord bot ready to skill up and boost up your Discord server! It has an State of the Art AI chatbot to make sure you never feel bored!

Aeona | Chatbot Aeona is an ever-growing multipurpose bot; primarily a fun chatbot you can converse with, but also showcases a wide range of fun comma

null 29 Jan 9, 2023
It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with buttons. It can play youtube songs, playlists. This bot code was made by Supreme#2401. It uses djs V12

Lofi-Radio-Music-Bot It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with butt

Diwas Atreya 89 Jan 2, 2023