datafruits / fruitbot Goto Github PK
View Code? Open in Web Editor NEWthe bot
the bot
!archives fruits tonite
it will let you create polls
The bot seems to disconnect from the datafruits chat (phoenix socket) pretty frequently, and the only way to fix is to just restart the app manually, or force it to crash somehow, which triggers a restarting of the supervisor.
Would be great if it could reconnect itself automatically.
It doesn't seem to have any problem staying connected to discord.
Create another worker that polls the stream
https://streampusher-relay.club/datafruits.mp3
Every XX minutes or so.
If the request doesn't return 200 , send an alert to discord/chat.
maybe it would just be an alias for !wiki but still might be useful
i don't know how to implement this
Seems more maintained than phoenix_client
https://github.com/NFIBrokerage/slipstream
Maybe would solve our disconnection issues
#8
maybe we can do some heuristics to match commands if they are close enough, it's often hard to remember the exact command.
For example !bigup and !bigups and !big up should all do the same thing.
Also it should be case insensitive so !Bigup and !bigup both work.
hend=0x00007f35e7747730
stop=0x00007f35e7747528
htop=0x00007f35e7747530
heap=0x00007f35e7744540
beam/erl_gc.c, line 735: <0.3736.0>: Overrun stack and heap
crash dump:
=erl_crash_dump:0.5
Mon Oct 23 20:32:34 2023
Slogan: Runtime terminating during boot ({badarg,[{io,put_chars,[standard_error,[_]],[{_},{_},{_}]},{Elixir.Kernel.CLI,exec_fun,2,[{_},{_}]},{Elixir.Kernel.CLI,run,1,[{_},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
System version: Erlang/OTP 26 [erts-14.0.1] [source] [64-bit] [smp:12:10] [ds:12:9:10] [async-threads:1] [jit:ns]
Taints:
Atoms: 16799
Calling Thread: scheduler:5
=scheduler:1
Scheduler Sleep Info Flags: SLEEPING | POLL_SLEEPING | WAITING
Scheduler Sleep Info Aux Work:
Current Port:
Run Queue Max Length: 0
Run Queue High Length: 0
Run Queue Normal Length: 0
Run Queue Low Length: 0
Run Queue Port Length: 0
Run Queue Flags: OUT_OF_WORK
Current Process:
=scheduler:2
Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
Scheduler Sleep Info Aux Work:
Current Port:
some users have different usernames for different servers. universal user profile username is shown in the df app chat, instead of the df server username they are known by in the df discord.
can users/dj accounts define chat triggers/aliases? like is there a way for me to do like !shoprequest or something that can spit out a string like "MAGENTA: REQUESTS HERE>> server.com/pagelink.html"
i know its like, probs admin-doable but i was just wondering if there was a like a cmd do it as a chat/chatbot command
not like it's an issue to just paste the link instead of an alias ha but yeah just curious
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.