Code Monkey home page Code Monkey logo

fruitbot's People

Contributors

einariii avatar mcfiredrill avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

einariii

fruitbot's Issues

keeps disconnecting from chat

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.

make a stream monitor

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.

add !help command

maybe it would just be an alias for !wiki but still might be useful

make aliases / case insensitive commands

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.

random crashes

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: 

user definable commands

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

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.