qwreey / mina-discord-bot Goto Github PK
View Code? Open in Web Editor NEW실험, 재미, 교육, 공부 목적으로 만들어진 프로젝트 미나 디스코드 봇. 실험적으로 운영을 하기 때문에 초대 링크가 없습니다
실험, 재미, 교육, 공부 목적으로 만들어진 프로젝트 미나 디스코드 봇. 실험적으로 운영을 하기 때문에 초대 링크가 없습니다
모의주식, 타자연습, 머니 기능
데이터 베이스에 각각 값을 파일로 나눠서 파싱시 필요한것만 파싱 가능하게 만들기(마치 배워 DB 구상처럼)
날씨 가져오는 Api
when you using ascii art command (ex : 미나 아스키아트 abc), you can see that the terminal title will changed into 'figlet'
this is issue of io.popen(work);
's work
should add os.execute(("title %s"):format(_G.app.name));
on when io.popen
progress ended
this.value = ("[해당 %s으로 이동하기](%s)\n"):format(nameHeader,url) .. tostring(snippet.description);
=>
this.value = ("[해당 %s으로 이동하기](%s)\n%s"):format(nameHeader,url,tostring(snippet.description););
the title says everything.
calling :setContent() with :setEmbed() makes two http request that make useless traffic
it should be replaced to
message:update {
content = [content];
embed = [embed];
};
sendToDm = "This message will showed on server"
reply = "This message will showed on dm"
you can use this like be
sendToDm = "DM 에 메시지가 전송되었습니다!";
reply = "표시될 메시지";
and, just set sendToDm as true, will not displays server message
AND, IF WE USE THIS FEATURE ON DM, this is will ignored
adding new prefixed command that user can change (saved for servers)
prefix can be setted by
미나 접두사 ~
and, in command object, added new property
command = {"p","play"};
새벽 ~ 시 ~ 분이야 아침 ~ 시 ~ 분이야
식으로 나왔으면
더 좋아씀
test 폴더 안에 tdd 유닛 다 만들고
popen 써서 stdout 캐치 해서 파일로 리다이렉트 해야함
나중에 구현하고 일단 명령 파이프라인 부분 뜯어 고쳐야함
Title says everything
지금 실행중인거 띄우는 명령어
페이지화된 플레이리스트
제작 필요
title says everything.
we should add hook features on before-after of message processing
like this
local newHook = hook.new {
type = hook.type.before;
func = function (message,...)
print(message.content);
end;
userIdMatch = "some user id or nil";
serverOnly = nil;
prefixMatch = nil;
-- there can be more options
};
newHook.mount(); -- this is will enable this hook
timer.sleep(1000);
newHook.unmount(); -- this is will disable this hook
after we make this feature, we can make many games!
the class HOOK will automatically destroy on memory by luajit's gc system
(so, we don't have to consider memory issues)
앨랠래
it will helps using some shell commands; such as we can git command on repl as no errors
this is simple feature request; we can do with just adding this
-- on app/term.lua
local lastStatus = _G.livereloadEnabled;
_G.livereloadEnabled = false;
-- ... execute codes
_G.livereloadEnabled = lastStatus;
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.