readability
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
# girl cock inator
|
# girl cock inator
|
||||||
|
|
||||||
behold perry the platypus, the fine ill do it for you inator
|
its docker compose, copy the default to `docker-compose.yml` and put a discord token in and start the container and it works i hope
|
||||||
3
index.js
3
index.js
@@ -30,7 +30,8 @@ client.on(Events.MessageCreate, message => {
|
|||||||
const cocklink = `https://girlcockx.com/${profile}/status/${stub}`
|
const cocklink = `https://girlcockx.com/${profile}/status/${stub}`
|
||||||
console.log(`Girlcock: Converted to ${cocklink}`)
|
console.log(`Girlcock: Converted to ${cocklink}`)
|
||||||
message.channel.send(cocklink)
|
message.channel.send(cocklink)
|
||||||
message.suppressEmbeds().catch(err => // this bit is ai generated because i am lazy
|
message.suppressEmbeds().catch(err =>
|
||||||
|
// this next bit just cuts down the error to the important part, which will usually end up being "no permissions"
|
||||||
console.error(err.stack?.split('\n')[0] || err.message || String(err).split('\n')[0])
|
console.error(err.stack?.split('\n')[0] || err.message || String(err).split('\n')[0])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user