patai5 / bakabot Goto Github PK
View Code? Open in Web Editor NEWDiscord Bot and Web Scraper for the Czech online schooling system "Bakaláři"
License: GNU General Public License v3.0
Discord Bot and Web Scraper for the Czech online schooling system "Bakaláři"
License: GNU General Public License v3.0
Dobrý den,
mohl byste prosím upřesnit, co přesně zadat do souboru .env.example?
Dostávám error: http.client_exceptions.ClientConnectorError: Cannot connect to host discord.com:443 ssl:default [Connect call failed ('162.159.136.232', 443)].
Děkuji
Currently, the lesson times are defined as constants here:
BakaBot/src/bakabot/core/reminder.py
Lines 13 to 28 in 85f4b75
We should instead extract them directly from the schedule:
Since the reminder times are at least for me, set to be ten minutes after the last lesson, we will also need to add some settings for this. The best place for it would probably be in the bot's slash command settings. + the day schedule reminder time (currently 6 AM)
Lesson reminder is not working for whatever reason, doesn't send schedule for the day or the next lessons.
To be investigated.
Most likely caused by this:
Dobrý den, chtěl bych se zeptat zda bot stále funguje. Snažil jsem se ho zprovoznit vše šlo hladce do spuštění, kdy vyžadoval nastavení kanálů přes příkaz "/channel function:Grades
" po spuštění příkazu na Discordu jsem dostal chybovou hlášku "Aplikace neodpovídá", v terminálu:
Ignoring exception in slash command 'channel': Traceback (most recent call last): File "/home/jst/BakaBot/env/lib/python3.12/site-packages/disnake/ext/commands/interaction_bot_base.py", line 1378, in process_application_commands await app_command.invoke(interaction) File "/home/jst/BakaBot/env/lib/python3.12/site-packages/disnake/ext/commands/slash_core.py", line 717, in invoke await self.prepare(inter) File "/home/jst/BakaBot/env/lib/python3.12/site-packages/disnake/ext/commands/base_core.py", line 315, in prepare raise CheckFailure(f"The check functions for command {self.qualified_name!r} failed.") disnake.ext.commands.errors.CheckFailure: The check functions for command 'channel' failed.
Nevíte čím by to mohlo být?
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.