wubsy / dogbot Goto Github PK
View Code? Open in Web Editor NEWGeneric Discord Bot written in Golang
License: MIT License
Generic Discord Bot written in Golang
License: MIT License
One of the more important bug fixes on the todo list
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
Attempted something but it just looped and wasted processing power.
json: cannot unmarshal number into Go struct field GetChannelOutputType.status of type string
Not sure cause of error.
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.