Git Product home page Git Product logo

dogbot's People

Contributors

wubsy avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dogbot's Issues

channelID error

goroutine 5129105 [semacquire]:
sync.runtime_SemacquireMutex(0xc042794004)
C:/Go/src/runtime/sema.go:62 +0x3b
sync.(*Mutex).Lock(0xc042794000)
C:/Go/src/sync/mutex.go:87 +0xa4
github.com/bwmarrin/discordgo.(*RateLimiter).LockBucket(0xc04227ae00, 0xc833f66cc0, 0x39, 0x0)
C:/Users/wubsy/go/src/github.com/bwmarrin/discordgo/ratelimit.go:76 +0x65
github.com/bwmarrin/discordgo.(*Session).request(0xc0421b4000, 0x8034e1, 0x3, 0xc833f66c40, 0x39, 0x80c0fc, 0x10, 0x0, 0x0, 0x0, ...)
C:/Users/wubsy/go/src/github.com/bwmarrin/discordgo/restapi.go:69 +0xe4
github.com/bwmarrin/discordgo.(*Session).RequestWithBucketID(0xc0421b4000, 0x8034e1, 0x3, 0xc833f66c40, 0x39, 0x0, 0x0, 0xc833f66cc0, 0x39, 0x0, ...)
C:/Users/wubsy/go/src/github.com/bwmarrin/discordgo/restapi.go:58 +0xda
github.com/bwmarrin/discordgo.(*Session).Channel(0xc0421b4000, 0xc83ccac280, 0x12, 0x12, 0x0, 0x0)
C:/Users/wubsy/go/src/github.com/bwmarrin/discordgo/restapi.go:1210 +0x118
main.messageCreate(0xc0421b4000, 0xc834389770)
G:/GoProjects/DogBotApp/DogBot/DogBot.go:271 +0x116
github.com/bwmarrin/discordgo.messageCreateEventHandler.Handle(0x824628, 0xc0421b4000, 0x794dc0, 0xc834389770)
C:/Users/wubsy/go/src/github.com/bwmarrin/discordgo/eventhandlers.go:496 +0x5e
created by github.com/bwmarrin/discordgo.(*Session).handle
C:/Users/wubsy/go/src/github.com/bwmarrin/discordgo/event.go:162 +0x2ff

Add rate limiting

Attempted something but it just looped and wasted processing power.

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.