mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
More shortcuts
This commit is contained in:
@@ -27,7 +27,7 @@ export default class PMChannel extends Channel {
|
||||
sendMessage(){
|
||||
return this.client.sendMessage.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
|
||||
|
||||
send() {
|
||||
return this.client.sendMessage.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
@@ -35,23 +35,23 @@ export default class PMChannel extends Channel {
|
||||
sendTTSMessage(){
|
||||
return this.client.sendTTSMessage.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
|
||||
|
||||
sendTTS() {
|
||||
return this.client.sendTTSMessage.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
|
||||
|
||||
sendFile() {
|
||||
return this.client.sendFile.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
|
||||
|
||||
startTyping() {
|
||||
return this.client.startTyping.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
|
||||
|
||||
stopTyping() {
|
||||
return this.client.startTyping.apply(this.client, reg(this, arguments));
|
||||
return this.client.stopTyping.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
|
||||
|
||||
getLogs() {
|
||||
return this.client.getChannelLogs.apply(this.client, reg(this, arguments));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user