Giter Club home page Giter Club logo

ebot's Introduction

EBot - 棱角社区攻防日报企业微信机器人

此机器人主要用作企业微信进行推送棱角社区攻防日报板块安全动态,每日10:00准时推送更新,可按照需求进行在代码内修改。

在以下位置进行修改每日推送时间。

	Ebot()
	cron2 := cron.New() //创建一个cron实例
	//执行定时任务(每天10点执行一次)
	err:= cron2.AddFunc("0 0 10 * * ?", Ebot)
	if err!=nil{
		fmt.Println(err)
	}

使用方法

使用方法

  1. 在企业微信群右上角点击三个点;
  2. 选择[新建一个机器人];
  3. 在添加机器人窗口中设置头像与昵称,然后单击添加机器人;
  4. 将企微机器人key复制到config.ini文件内,替换 config.ini 中的 xxx 为机器人的key,注意Key中的K为大写。;
  5. 随后可在服务器中运行EBot程序,最终效果如下:

ebot's People

Contributors

r0exper avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.