TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Build a serverless Discord bot with OpenFaaS and Golang

23 点作者 alexellisuk将近 2 年前

3 条评论

quaunaut将近 2 年前
Not about the article, but: OpenFaaS&#x27; Pricing Page[1] has no pricing on it whatsoever.<p>You could guess that since the Community edition is MIT licensed that it&#x27;s free, but then again the language right above it says &quot;non-production or experimental use&quot;, where Standard says &quot;production and business use&quot;. Now, MIT I know basically means &quot;It&#x27;s on you, so if you wanna go prod go prod&quot;, but that wording just isn&#x27;t friendly.<p>Looking over the Community Edition further, I&#x27;d honestly be stunned who would ever use this, and thus, what, if anything, about this is &quot;Open&quot;:<p>- Only 5 replicas per function, ie, hope any given function doesn&#x27;t have more than 5 invocations at once.<p>- No &quot;scale to zero&quot;, (which is the usual cost benefit of serverless)<p>- There is an in-mem queue, except it&#x27;s being End-of-Life&#x27;d in June, which is... a week from now.<p>- It does separately support cron triggers! This is great.<p>- It does not support any other triggers except direct call.<p>- Can&#x27;t integrate it with any other K8s deployment tool<p>I honestly cannot fathom why someone would use this.<p>1. <a href="https:&#x2F;&#x2F;www.openfaas.com&#x2F;pricing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.openfaas.com&#x2F;pricing&#x2F;</a>
评论 #36059679 未加载
评论 #36059829 未加载
sirwally将近 2 年前
Seems like a lot of effort to save the 3 seconds it takes to click start meeting and paste the link into the channel.
alexellisuk将近 2 年前
tl;dr - learn how to build a webhook-driven bot for Discord. It was harder than I thought, but now it&#x27;s available for anyone who wants it :)
评论 #36059064 未加载