Compare commits
2 Commits
4217226f37
...
f5d1448ac7
Author | SHA1 | Date |
---|---|---|
Lamp | f5d1448ac7 | |
Lamp | e985963496 |
|
@ -345,3 +345,15 @@ client.on("message", async message => {
|
|||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* fun little web server */
|
||||
|
||||
global.app = require('express')();
|
||||
app.get("/emojis", async (req, res) => {
|
||||
res.send(client.emojis.map(e=>`<img width="48px" height="48px" title="${e.name}" src="${e.url}" />`).join(''));
|
||||
});
|
||||
app.server = app.listen(3975);
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"main": "lampselfbot.js",
|
||||
"dependencies": {
|
||||
"discord.js": "^11.4.2",
|
||||
"discord.js": "github:ledlamp/discord.js#v11.6.4-mod",
|
||||
"exit-hook": "^2.0.0",
|
||||
"express": "^4.17.1",
|
||||
"gifsicle": "^5.1.0",
|
||||
"node-opus": "^0.3.1",
|
||||
"sharp": "^0.25.2",
|
||||
"snekfetch": "^4.0.4"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue