fix typo
This commit is contained in:
parent
37de39daa7
commit
4dc18f7266
3 changed files with 26 additions and 26 deletions
|
@ -257,11 +257,11 @@ export class GuildChannel extends Channel {
|
|||
async editOverwrite(
|
||||
overwrite: OverwriteAsArg,
|
||||
{
|
||||
overriteAllow = OverrideType.ADD,
|
||||
overriteDeny = OverrideType.ADD
|
||||
overwriteAllow = OverrideType.ADD,
|
||||
overwriteDeny = OverrideType.ADD
|
||||
}: {
|
||||
overriteAllow?: OverrideType
|
||||
overriteDeny?: OverrideType
|
||||
overwriteAllow?: OverrideType
|
||||
overwriteDeny?: OverrideType
|
||||
}
|
||||
): Promise<GuildChannels> {
|
||||
const id = typeof overwrite.id === 'string' ? overwrite.id : overwrite.id.id
|
||||
|
|
|
@ -246,7 +246,7 @@ client.on('messageCreate', async (msg: Message) => {
|
|||
allow: Permissions.DEFAULT.toString()
|
||||
},
|
||||
{
|
||||
overriteAllow: OverrideType.REMOVE
|
||||
overwriteAllow: OverrideType.REMOVE
|
||||
}
|
||||
)
|
||||
msg.channel.send(`Done!`)
|
||||
|
|
Loading…
Reference in a new issue