Code Monkey home page Code Monkey logo

spectrum's Introduction

spectrum's People

Contributors

bobdotcom avatar brahmnw avatar dependabot[bot] avatar spectrixdev avatar

Stargazers

 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

spectrum's Issues

Make an handler.py

i feel like since spectrum is becoming better and stuff, you should make an handler.py for all the bot events so you dont need to restart the bot rather then to reload a cog for updating presences and have your error handler right there too

Bot not printing logs in bot.py

So I have code such as:

print(f"Gave my server invite to {ctx.message.author.name}. Server: {message.server.name}. Time: {datetime.datetime.now().time()}")

after a command, and it doesn't print it out except for the chat bot part (this is in bot.py)

Any thoughts?

Js

Self explanatory

Help!

Can I know where to add the token :)?

Discord Bot List API not working right (Unauthorized 401)

It never works and I'm still getting errors now

Failed to post server count Unauthorized: Unauthorized (status code: 401): {"error":"Unauthorized"} Traceback (most recent call last): File "/home/Spectrix/cogs/dblUpdater.py", line 25, in update_stats await self.dblpy.post_server_count() File "/home/Spectrix/.local/lib/python3.6/site-packages/dbl/client.py", line 100, in post_server_count Unauthorized: Unauthorized (status code: 401): {"error":"Unauthorized"} await self.http.post_server_count(self.bot_id, self.guild_count(), shard_count, shard_no) File "/home/Spectrix/.local/lib/python3.6/site-packages/dbl/http.py", line 189, in post_server_count await self.request('POST', '{}/bots/{}/stats'.format(self.BASE, bot_id), json=payload) File "/home/Spectrix/.local/lib/python3.6/site-packages/dbl/http.py", line 158, in request raise Unauthorized(resp, data) dbl.errors.Unauthorized: Unauthorized (status code: 401): {"error":"Unauthorized"}

Basically, it's saying it's unauthorized, and i checked the api on github
Top-gg-Community/python-sdk#5
So apparently it's a bug

Any other ways of posting to the discord bot list api that actually work?

add spectrum phone back

Make it where we can use it in dms and a server make sure theres a channel called #server-phone

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.