mendicant-original / mendibot Goto Github PK
View Code? Open in Web Editor NEWIRC bot for Mendicant University
IRC bot for Mendicant University
Mendibot requires a 'bot_config', but we have no example of how to set it up.
When a discussion is ended, Mendibot should reply with a link to the discussion transcript.
jazzu managed to crash the bot twice in a few minutes:
(11:01:37 PM) jazzu: Jyväskylä to be exact
(11:01:37 PM) mendibot left the room (quit: Remote host closed the connection).
(11:08:19 PM) jazzu: Ich habe für zwei Jahren Deutch (studied). But that was over ten years ago
(11:08:19 PM) mendibot left the room (quit: Remote host closed the connection).
We'd like to have mendibot post new commits to certain rooms. We can generalized the community RSS code you did so that it's easy to add new RSS feeds to mendibot. We'd also like specify which channels the feeds are broadcast in.
From #24
NEW_ROOMS = nil in default_environment.rb is off-topic but necessary to start the bot.
My bad :wink2:
per email discussion
Give mendibot a !spell command, which given a word, gives back spelling suggestions.
I'll look into doing this with Hunspell, perhaps via ffi-hunspell
This is an example of the current generated link:
school.mendicantuniversity.org/chat/messages**?&channel=#**mendicant-alumni&topic=Web%20Apps/Tools%20Meeting&full_log=true
There is an extra ampersand at the start of the params (after '?'). This is ignored by Firefox, but other browsers might choke.
The '#' needs to be replaced by '%23'. This one does make things go sour.
If you've seen the mailing list thread, I proposed an integration with Github commits and mendibot for the hackdays. The plan is to have it work as follows
!hackday-start topic message
!gh-follow mendicant-university/community
or !gh-follow mendicant-university/community:my-branch
to tell mendibot to track commits on this code.!hackday-stop
I'd like to get this in place ahead of the next hackday. We'll wait until #31 is merged to see what we can reuse from it. If this is something one or both of you would like to tackle, let me know.
During the Q&A session with steveklabnik and Judofyr, the questions copied and pasted by seacreature were recorded in reverse order. Here's an example:
seacreature: Good time to ask a releated question. 09:44 AM
seacreature: projects, or have you put your own brand on it? 09:44 AM
seacreature: tests; have you guys tried to stick to his style within his old 09:44 AM
seacreature: To both: _why's code was kind of wild and he rarely had automated 09:44 AM
This ticket really doesn't belong here, but I have no where else to put it.
Continuing my discussion with @semmons99 on my s7-e4.
As of right now, Mendibot sends the current topic with every message to University Web, and UW stores a topic_id with each message record.
I rewrote this in both university-web and mendibot as a part of my s7-e4 assignment on RMU, to make it easier to have multiple meetings per topic and allow tagging a bunch of messages into a topic / meeting later (no ui as of now).
My branch stores a started_at
and ended_at
for each meeting, and doesn't store any topic info with each message.
The main concern here is, that handling the Topics on the server side will make Mendibot more coupled with University Web.
I'm posting this here on @semmons99's suggestion, to get the opinion of Greg and Jordan.
per @sandal's email:
- Have mendibot monitor the community website RSS feed and post links to new articles as they get posted to the site.
here's another small hack (minus the facepalm code written before I realized Cinch has timers). Should the constants reside within the plugin rather than Mendibot::Config? All suggestions welcome.
class CommunityRSS
include Cinch::Plugin
timer Mendibot::Config::RSS_INTERVAL, method: :pull
def pull
open(Mendibot::Config::RSS_URL) do |rss|
feed = RSS::Parser.parse(rss)
min_time = Time.now - Mendibot::Config::RSS_INTERVAL
feed.items.each do |item|
if item.pubDate >= min_time
Mendibot::Config::CHANNELS.each do |chan|
Channel(chan).send "Community post by #{item.author}: #{item.link}"
end
end
end
end
rescue Exception => e
bot.logger.debug e.message
end
end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.