Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

BlackListener/BlackListener-v1

Repository files navigation

BlackListener Documentation Travis-CI Build Status Jenkins Build Status

This project is abandoned, don't ask me about this repository, v1. Please, please use the BlackListener v2 instead.

(I won't give you support for this repository)


Global Banning System for Discord.

Discord Bots

Important

Do not edit src/lang files directly, managed by Crowdin(but can edit English if need).

Translator's page

Startup options

  • You can change default prefix without editing config, and other things!
  • If you set --prefix as a:, BlackListener will be start with changed default prefix, a:.
  • --{enable|disable}-repl will disable or enable REPL.
  • Start with both options: node index.js --prefix=a: --disable-repl

Common Commands

Default Prefix: b:, Configurable with b:setprefix <Prefix>

This bot has in-bot help, Please use that feature(Translation page).

Server's prefix can be show up in mention the bot.

Command How does it work どのように動くか Is needed Admin permission
help Displays Help ヘルプを表示する No
shutdown [-f] Shutdown a Bot. シャットダウン Yes
token Send token to your DM トークンをDMに送る No, bot owner only
ban <UserID/Name> <Reason> <Probe on Attachment> Attempt BAN BANします Yes
unban <UserID/Name> Attempt UnBAN Unbanします Yes
language <ja/en> Change language 言語を変更します Yes
setprefix <prefix> Set prefix. 接頭語を設定します。 Yes
setnotifyrep <0...10> Set notify reputation 通知する評価値を設定します Yes
setbanrep <0...10> Set auto ban reputation 自動BANする評価値を設定します Yes
info Displays Bot environments ボットの環境を表示します。 No
reload Reload the guild config. ギルドの設定をリロードします。 Yes
purge [all] Delete 100 messages. 100のメッセージを削除します。 Yes
purge <number> Delete messages of specified numbers 指定された数メッセージを削除します Yes
togglepurge [enable/disable] The purge command can not be used as it is, so use it for use. purgeコマンドはこのままでは使用できないのでこれを使用して使えるようにします。 Yes
role <Role> [user] Add/Remove role from [user], default [user] is sender. [ユーザー]から役職を追加/削除します。[ユーザー] はデフォルトでは実行者です。 Yes
autorole [add <role>/remove] Settings for autorole 自動役職の設定 Yes
status <fortnite|minecraft> Displays service status サービスのステータスを表示します。 No
lookup <User> Displays User information. ユーザー情報を表示します。 Yes
didyouknow <User> Tests if bot know specificed user ボットが指定されたユーザーを知っているかテストします No
setignore <Channel> Set exclude from logging channel. ロギングを指定されたチャンネルを除外するようにします Yes
image anime Send anime images. アニメ画像を送信します。 No
invite Displays bot invite link. ボットの招待リンクを表示します。 No
dump [guilds|users|channels|emojis|messages] Dump guilds, users, channels, emojis, messages. default is guilds. ギルド、ユーザー、チャンネル、メッセージをダンプします。デフォルトはギルドです。 Yes
setnick | setnickname <NewNickname> [User] Set nickname; default user is this Bot. ニックネームを設定します、デフォルトのユーザーはこのボットです。 Yes
listemojis [escape] Displays all custom emojis on guild. サーバーのすべてのカスタム絵文字を表示します。 Yes
setwelcome <message:channel> <Message:Channel> Set welcome message ウェルカムメッセージを設定します Yes
... and more commands on documentation !

Welcome message Placeholder

  • {user} ... Mention user
  • {tag} ... User#0000
  • {id} ... User ID
  • {username} ... User name
  • {rep} ... Reputation
  • {users} ... Size of that guild
  • {createdAt} ... Created that account date
  • {joinedAt} ... Joined that account date
  • {avatarURL} ... Avatar URL

User has 0 rep, if you're banned a 1 time, you'll added 1 rep.

If you're banned 5 times, you'll added 5 rep.


Most servers are using default settings(maybe), notify reputations is 1, default ban reputation is 5.

Also you can't ban that users:

  • Not cached in Bot(You can test with didyouknow command)
  • A unknown error
  • User has been deleted by Discord (Deleted user ??????? (Deleted user#0000))
  • You are banned from this Bot
  • Server has banned from bot

ユーザーは0評価値を持っています。1回BANされると、評価値が1プラスされます。

5回BANされると、評価値が5プラスされます。


ほとんどのサーバーはデフォルトの設定を使っています(たぶん)。通知評価値は1で、デフォルトの自動BAN評価値は5です。

そしてこれらのユーザーはBANできません:

  • Botにキャッシュされていない
  • 不明なエラー
  • Discordにユーザーを削除されています (Deleted user ???????)
  • 執行者がBotからBANされている
  • サーバーがBotからBANされている