GithubHelp home page GithubHelp logo

devse-org / devse-chan Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 51 KB

๐Ÿค– A discord moderation bot and IRC bridge

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
discord irc discord-bot bot devse devse-chan

devse-chan's People

Contributors

d0p1s4m4 avatar fomys avatar keyboard-slayer avatar supercip971 avatar wafelack avatar woomymy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

supercip971

devse-chan's Issues

bug: crash when disconnected

we need to implement a queu

Jan 03 16:52:22 localhost python[105099]: RuntimeError: Not connected
Jan 03 16:52:22 localhost python[105099]: Ignoring exception in on_message
Jan 03 16:52:22 localhost python[105099]: Traceback (most recent call last):
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/.env/lib/python3.8/site-packages/nextcord/client.py", line 351, in _run_event
Jan 03 16:52:22 localhost python[105099]:     await coro(*args, **kwargs)
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/devsechan/discord.py", line 30, in on_message
Jan 03 16:52:22 localhost python[105099]:     parent.to_irc(message.author,
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/devsechan/__init__.py", line 24, in to_irc
Jan 03 16:52:22 localhost python[105099]:     self.irc.send(author, msg)
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/devsechan/irc/__init__.py", line 65, in send
Jan 03 16:52:22 localhost python[105099]:     self.irc.send('PRIVMSG', target=self.config['channel'].get(), message=f"<{colored_nick}> {message}")
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/.env/lib/python3.8/site-packages/bottom/client.py", line 181, in send
Jan 03 16:52:22 localhost python[105099]:     self.send_raw(packed_command)
Jan 03 16:52:22 localhost python[105099]:   File "/home/hades/devse-chan/.env/lib/python3.8/site-packages/bottom/client.py", line 66, in send_raw
Jan 03 16:52:22 localhost python[105099]:     raise RuntimeError("Not connected")

Rewrite in Hy ?

Hy is a lisp dialect on top of python

Hy is a Lisp dialect that's embedded in Python. Since Hy transforms its Lisp code into Python abstract syntax tree (AST) objects, you have the whole beautiful world of Python at your fingertips, in Lisp form.

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.