Bald Bot

Advanced bot project template for Bot-Hosting.net

Node.js Other 작성자 kip
이 템플릿 배포하기
스크린샷 1

소개

README.md

목차
GitHub에서 열기

bald-bot | Codump.github.io 💚 Bot-Hosting.net

GitHub Clones views Commits LastUpdate DependaBot

Bald Bot Cover
Advanced bot project template for Bot-Hosting.net

Features v0.1.1 (bot is in development so keep an eye on those numbers)

  • Global, guild and user installed commands.
  • Commands cooldown and spam prevention.
  • Global logging to your discord.
  • Honeypot to catch and ban spam bots.
  • Dashboard website. (planned)
  • Login website add to discord server. (planned)
  • Alt account checker. (planned)
  • Ban from service. (planned)

Deploy on Bot-Hosting

Getting started

First of all rename empty-config.json to config.json and fill in the details:

  • botStatus if set to dev the bot will display a DnD status with a development status text (can be changed in events/ready.js).
  • botClientId go to the Discords developers portal create a new application and find your Application ID.
  • botToken go to the Discords developers portal and find the Token for your new application.
  • masterId your own user ID from discord to give you master powers.
  • masterGuildId the guild ID of your own discord.
  • masterLogId channel ID for your master log.
  • deployCommands set to true if you want to deploy your commands on startup. And false to skip this part during development.
  • coolDownCommands is explained in more details below under settings.
  • honeypotId is channel ID that you want to use as a honeypot for spam bots.
  • logging is explained in more details below under settings.

Commands: All commands in the global folder will become as said global commands. Same goes for the userinstall commands folder, these will become user installed commands. For guild commands you need to create a folder for each guild with the guild ID as the folders name. Change the name of folder 1041383897373626458 to your masterGuildId. All commands will be automatically deployed if deployCommands is set to true.

Intents:

  • honeypot feature uses Message Content Intent.

Permissions:

  • default needed Read message history, Send messages, Bypass slowmode Permissions
  • honeypot feature needs Ban members, Manage messages Permissions

Settings

Cooldown

Can be set per command by adding cooldown: 5, below the command module.exports = { if it isn't set the default will be coolDownCommands defaultAmount set in the config. To further down the strictness on commands spam you can decrease the allowed overal commands coolDownCommands commandsPerMinute in the config. To make a role immune for cooldowns add the role ID to the coolDownCommands immuneCoolDownRoles array.

Logging

Set the level of your paranoia from 1 to 5 where 1 is the highest and most strict. You can also disable logError and logSucces entirely by setting them to false. Have them enabled and your paranoia set to 1 will log EVERYTHING to your discord master log channel. We kept all errors in level 5 so they always show up. You can, of course, tweak everything to your liking. Keep in mind that some logs can't be send to discord and your console is the most reliable.

  • 5 shows: All errors, bot added to guild.
  • 4 shows all from 5 plus: Bot is ready, deploy commands.
  • 3 shows all from 4 plus: Bot status, global rate limit.
  • 2 shows all from 3 plus: Per command rate limits.
  • 1 shows all from 2 plus: Everything.

Troubleshooting

  • If a command isn't showing, refresh discord with Ctrl + R.

배포 방법

  1. 1 배포 페이지 열기배포 이름을 정하세요. 확인할 때 로그인해요.
  2. 2 변수 채우기템플릿이 요구하는 값이며 배포의 환경 변수로 저장돼요.
  3. 3 리소스 확인요금제의 공유 풀에서 가져와 실행해요. 모든 계정은 무료로 시작해요.

로그인하고 신고하기

악용을 막기 위해 신고는 계정과 연결돼요.

로그인