C3cbot/c3c-page - GitHub
Có thể bạn quan tâm
- Notifications You must be signed in to change notification settings
- Fork 12
- Star 7
- Code
- Issues 1
- Pull requests 2
- Actions
- Security 0
- Insights
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commitHistory176 Commits | ||||
| CNAME | CNAME | |||
| README.md | README.md | |||
| _config.yml | _config.yml | |||
| global-banlist.json | global-banlist.json | |||
| View all files | ||||
Repository files navigation
- README
A bot that can be customized using plugins. Currently supports Facebook Messenger (using fca-unofficial, a repo forked from facebook-chat-api and maintained by me) and Discord (using discord.js)
Before you install
Make sure you have Administrator/root permission on your terminal, otherwise you can't start bot. (reason: process priority). Also you need to install (first => last):
- Node.JS 12+ (of course because this thing was writen in JS) (download link here)
- Xcode Command Line Tools (if you are using macOS)
- Python 2/3 (Windows users can install this using npm i windows-build-tools, macOS doesn't need this because Xcode installed it)
- Visual C++ Build Tools (Windows users only, use npm i windows-build-tools to install this)
- make, gcc (Linux/Ubuntu only)
List of supported/tested OS:
- Windows 7+ (x86/x64)
- macOS 10.9+ (Works best under macOS Sierra 10.12.6 to macOS Big Sur 11)
- Ubuntu 18+ (x86/x64)
- Other Linux distro (x86/x64/ARM/... as long as both Node.JS and node-gyp support that architecture and OS)
Notice for Ubuntu/Linux & macOS users: Please add sudo before every commands.
Install
Download latest version (version 0.3.12, as of 20/03/2020) by clicking this, and then extract it. Go to the directory where it extracted (assuming you already opened a terminal), then type:
npm installand you are ready to go.
Usage
npm startIf this is the first time you execute this command, it'll generate config.json file. Close that command and then configure config.json file.
After that, you can run that command again and bot will go live.
Plugins
- SimSimi (/plugins/SimSimi.z3p) => Allow users to chat with SimSimi.
- Economy (/plugins/Economy.z3p) => Create an economy.
- Economy-Income (/plugin/Economy-Income.z3p) => Add a way to earn money. Extends Economy
- Economy-Gambling (/plugins/Economy-Gambling.z3p) => Add some gambling games to bot. Extends Economy
- YT2MP3 (/plugins/YT2MP3.z3p) => Convert youtube links to MP3.
- DenyCommand (/plugins/DenyCommand.z3p) => Allow admins (operators) to disable some commands.
- eXPerienceChat (/plugins/eXPerienceChat.z3p) => Add XP ranking system.
Libraries (as plugins)
- LibBetterRandom (/plugins/LibBetterRandom.z3p) => Implent Mersenne Twister random algorithim for other plugins to be used. Currently used by Economy-Income and Economy-Gambling
Localize
This bot currently supporting 2 language: en_US (English) and vi_VN (Tiếng Việt). You can change languages in config.json.
Facebook test accounts
A Facebook test account is an account just like normal accounts, however it can't contract with normal accounts. This account can be used to test and config the bot before going live.
You can create one in here.
Example config
If you don't want the bot create a config.json file for you, then here is the content that bot will write into config.json file:
{ "testmode": false, "baseprefix": "[Bot]", "botname": "C3CBot", "enablefb": false, "usefbappstate": true, "fbemail": "", "fbpassword": "", "fb2fasecret": "BASE32OFSECRETKEY", "fbuseragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36", "fblistenwhitelist": false, "fblisten": [ "0" ], "facebookAutoRestartLoggedOut": true, "facebookProxy": null, "facebookProxyUseSOCKS": false, "portSOCK2HTTP": 0, "addressSOCK2HTTP": "127.0.0.1", "enablediscord": false, "discordtoken": "", "discordlistenwhitelist": false, "discordlisten": [ "0" ], "admins": [ "FB-0", "DC-0" ], "blacklistedUsers": [ "FB-0", "DC-0" ], "allowAdminUseRestartCommand": true, "allowAdminUseShutdownCommand": false, "allowUserUsePluginsCommand": true, "allowUserUseReloadCommand": false, "language": "en_US", "enableThanosTimeGems": true, "allowEveryoneTagEvenBlacklisted": true, "DEBUG_FCA_LOGLEVEL": "error", "enableSSHRemoteConsole": false, "sshRemoteConsoleIP": "0.0.0.0", "sshRemoteConsolePort": 2004, "sshUsername": "admin", "sshPassword": "c3cbot@ADMIN", "nsfwjsSmallModel": true, "commandPrefix": "/", "autoRestartTimerMinutes": 50, "autoUpdate": true, "configVersion": 1, "enableMetric": true, "metricHideBotAccountLink": true }Metric
This program will send these things to Metric server (https://c3c-metric.lequanglam.cf) (closed source):
- Your external IPv4 or IPv6 address
- The version you currently running
- Your system info (amount of RAM, OS type, OS version, CPU arch, CPU load)
- ID of Facebook/Discord account currently running at (will not shown to everyone by default)
If you really want to completely disable Metric, set enableMetric in config.json to false.
Node.JS 12 & 13 download link:
- Official Node.JS webpage: https://nodejs.org/en/
Donation
Bitcoin: 1TTCLqLHSNegudfS7Ub7dUEGxUurGs8uH Litecoin: LQLTTCLUG9g7EfnpanwPH5MFjr7jdQRzfs Dogecoin: DTTCLQLeCGDmKmwyy2Nn2SYgbLAyE662ua Ethereum: 0x11C1014fA416c585DE0BA41900056fB9407D57a2About
https://c3cbot.tk
Resources
ReadmeUh oh!
There was an error while loading. Please reload this page.
Activity Custom propertiesStars
7 starsWatchers
2 watchingForks
12 forks Report repositoryReleases
No releases publishedPackages 0
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
You can’t perform that action at this time.Từ khóa » Cài Bot C3c
-
Cách Làm 1 Con Bot Messenger (Source C3C-Bot) Chưa Tới 10p
-
C3CBot | #c3c_instructions - Facebook
-
C3CBot | #c3c_announcement - Facebook
-
Best Bot Chat Update New
-
Hướng Dẫn Làm Bot Facebook Messenger Cho Tài Khoản Cá Nhân
-
Hướng Dẫn Tạo Bot Messenger – Miễn Phí Và Rất đơn Giản
-
Build A Simple Chatbot In 60 Minutes With Node.js | Messenger Bot
-
Hướng Dẫn Build Một Con Facebook Messenger Bot Bằng Nodejs Và ...
-
Phân Biệt Giữa Các Khái Niệm Bot, Chatbot Và Trợ Lý ảo - Messnow
-
Biến Facebook Messenger Thành Bot Tra Cứu Tử Vi
-
Hãy Tự Tạo Cho Mình 1 Con Chat Bot Messenger, Nó Rất đơn Giản! - Genk
-
Hướng Dẫn Lập Trình Chatbot Với Python - CodeLearn
-
Sử Dụng Chiếc SmartPhone Android Cũ để Làm "Server Mini" Chạy ...
-
Fca-horizon-remake - Npm