skinnybot/skinny-skeleton 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

skinnybot/skinny-skeleton

Composer 安装命令:

composer create-project skinnybot/skinny-skeleton

包简介

A framework to create discord bot in PHP.

README 文档

README

Travis Scrutinizer StyleCi Stable Version Downloads License
Build Status Scrutinizer StyleCI Latest Stable Version Total Downloads License

The bot skeleton used for Skinny.

The source code of the bot core can be found here: SkinnyBot/Skinny.

Requirements

Installation

  • composer create-project --prefer-dist skinnybot/skinny-skeleton <application_name>
  • Rename the file config/config.default.php to config/config.php
  • Configure your bot token in the file config/config.php

Run

Command line only : php run.php

Note

The skeleton will install by default the Module Plugin and the Basic Plugin automatically.

Running the bot permanently on a Server

I recommend to use the popular Unitech/pm2 npm package to run your bot. You will need NodeJS and npm installed on your server.

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_7.x | bash -
apt-get install -y nodejs


# Then
sudo npm install pm2@latest -g
pm2 start run.php -n "skinny"

More informations on the pm2 package can be found on the Unitech/PM2 repository.

More informations about installing NodeJS can be found here.

Contribute

Follow this guide to contribute

统计信息

  • 总下载量: 149
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固