Giter Club home page Giter Club logo

discord-bilibili-bot's Introduction

Hi, I'm Nestor Qin!

A full-stack engineer and a Software Engineering graduate student at Carnegie Mellon University.  

A little more about me...

const nestor = {
  pronouns: "he" | "his",
  code: [JavaScript, TypeScript, Python, Java, C],
  specialty: ["AI Development", "Web Development", "Full-stack Development", "iOS Development"],
  interests: ["Game Development", "Coffee", "Guitar"],
  AI Development: [RAG, AI_Agent, LangChain],
  tools: [React, Node, Docker, Kubernetes],
  databases: [MySQL, Redis, MongoDB, HBase],
  data_processing: [Hadoop, Apache.Spark, Apache.Druid, Apache.Kafka, Apache.Samza],
}

Want to know me even more...?

https://neet.coffee  

discord-bilibili-bot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discord-bilibili-bot's Issues

I cant start my bot with this log (python3.6.8 CentOS7)

[18.282651901] 2022-01-27 17:04:20,210 - INFO - launcher: Starting sanity checks
[18.432855606] 2022-01-27 17:04:20,210 - INFO - launcher: Checking for Python 3.5+
[18.492460251] 2022-01-27 17:04:20,211 - INFO - launcher: Checking console encoding
[18.579721451] 2022-01-27 17:04:20,211 - INFO - launcher: Ensuring we're in the right environment
[230.869293213] 2022-01-27 17:04:20,423 - INFO - launcher: Required checks passed.
[231.117248535] 2022-01-27 17:04:20,423 - INFO - launcher: Optional checks passed.
[231.191635132] 2022-01-27 17:04:20,423 - INFO - launcher: Moving old musicbot log

######################### PRE-RUN SANITY CHECKS PASSED #########################

[0.6759490966796875] 2022-01-27 17:04:20,868 - WARNING - musicbot.config | In config.py, line 116 in run_checks: i18n file does not exist. Trying to fallback to config/i18n/en.json.
[0.6761250495910645] 2022-01-27 17:04:20,868 - INFO - musicbot.config | In config.py, line 127 in run_checks: Using i18n: config/i18n/en.json
[0.677074432] launcher-ERROR: Error starting bot
Traceback (most recent call last):
File "run.py", line 371, in main
m = MusicBot()
File "/root/MusicBot/musicbot/bot.py", line 78, in init
self._setup_logging()
File "/root/MusicBot/musicbot/bot.py", line 203, in _setup_logging
datefmt = ''
TypeError: init() missing 1 required positional argument: 'fmt'
[0.678230047] launcher-INFO: All done.

0 knowledge about programming and scripts please help

Opened run.bat and cmd prompt pops up and displayed the following text:

[INFO] launcher: Starting sanity checks
[INFO] launcher: Checking for Python 3.5+
[INFO] launcher: Checking console encoding
[INFO] launcher: Setting console encoding to UTF-8
[INFO] launcher: Ensuring we're in the right environment
[INFO] launcher: Adding local bins/ folder to path
[INFO] launcher: Required checks passed.
[INFO] launcher: Optional checks passed.
[INFO] launcher: Moving old musicbot log
Traceback (most recent call last):
File "C:\Users\1\Documents\Discord-Bilibili-Bot\run.py", line 438, in
main()
File "C:\Users\1\Documents\Discord-Bilibili-Bot\run.py", line 347, in main
finalize_logging()
File "C:\Users\1\Documents\Discord-Bilibili-Bot\run.py", line 179, in finalize_logging
dlh.setFormatter(logging.Formatter('.'))
File "C:\Users\1\AppData\Local\Programs\Python\Python310\lib\logging_init_.py", line 589, in init
self.style.validate()
File "C:\Users\1\AppData\Local\Programs\Python\Python310\lib\logging_init
.py", line 429, in validate
raise ValueError("Invalid format '%s' for '%s' style" % (self._fmt, self.default_format[0]))
ValueError: Invalid format '.' for '%' style
Annotation 2021-12-19 022114

在python3.8环境下无法运行

Please tick all applicable boxes.

  • I am using Python 3.5.3 or higher (run python --version on the command line)
  • I have followed the official guides to install the bot for my system
  • I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

  • The latest master version (release-260419)
  • The latest review version

What type of issue are you creating?

  • Bug
  • Feature request
  • Question

Description of issue

clone下来后无法运行运行run.sh。环境为python 3.8, mac os x 10.13.6.
log:
Traceback (most recent call last):
File "run.py", line 438, in
main()
File "run.py", line 347, in main
finalize_logging()
File "run.py", line 179, in finalize_logging
dlh.setFormatter(logging.Formatter('.'))
File "/Users/####/.pyenv/versions/3.8.0/lib/python3.8/logging/init.py", line 576, in init
self._style.validate()
File "/Users/####/.pyenv/versions/3.8.0/lib/python3.8/logging/init.py", line 429, in validate
raise ValueError("Invalid format '%s' for '%s' style" % (self._fmt, self.default_format[0]))
ValueError: Invalid format '.' for '%' style

Steps to reproduce

  1. clone the reop
  2. install requirements
  3. invoke run.sh or run.py

Log file

Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.

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.