Merge pull request #99 from DjDeveloperr/slash
Use a fork of Denoflate to have cache-able WASM
This commit is contained in:
commit
dbb80f30b4
2 changed files with 5 additions and 2 deletions
2
deps.ts
2
deps.ts
|
@ -1,5 +1,5 @@
|
|||
export { EventEmitter } from 'https://deno.land/x/event@0.2.1/mod.ts'
|
||||
export { unzlib } from 'https://deno.land/x/denoflate@1.1/mod.ts'
|
||||
export { unzlib } from 'https://raw.githubusercontent.com/DjDeveloperr/denoflate/master/mod.ts'
|
||||
export { fetchAuto } from 'https://raw.githubusercontent.com/DjDeveloperr/fetch-base64/main/mod.ts'
|
||||
export { parse } from 'https://deno.land/x/mutil@0.1.2/mod.ts'
|
||||
export { connect } from 'https://deno.land/x/redis@v0.14.1/mod.ts'
|
||||
|
|
|
@ -170,7 +170,10 @@ client.on('messageCreate', async (msg: Message) => {
|
|||
)
|
||||
} else if (msg.content === '!textfile') {
|
||||
msg.channel.send({
|
||||
file: new MessageAttachment('hello.txt', 'hello world')
|
||||
files: [
|
||||
new MessageAttachment('hello.txt', 'world'),
|
||||
new MessageAttachment('world.txt', 'hello')
|
||||
]
|
||||
})
|
||||
} else if (msg.content === '!join') {
|
||||
if (msg.member === undefined) return
|
||||
|
|
Loading…
Reference in a new issue