discord.lib
0.6.7
0.6.7
  • discord.lib Official Documentation
  • Credits
  • package
  • Packages
  • Premium Info
  • classes
    • message
    • login
    • joinMessage
    • Complete Examples
    • leaveMessage
    • serverGreeting
    • Attachments
    • sharding
    • Typings
    • exampleBot
    • kick
    • ban
    • webhookClient
    • musicClient
  • Interacting with discord.lib's client
    • client
    • bot activities
    • Do servercount in commands
    • Discord
  • guides
    • MusicClient Guide
  • Deprecated
    • userClient
    • Webhook
    • embed
Powered by GitBook
On this page
  • Parameters
  • Example

Was this helpful?

  1. classes

leaveMessage

A powerful discord bot making library to help you make discord bots. Super easy, 100 percent discord api coverage, and more! Discord.lib also allows you to interact with discord.js.

Parameters

Parameter

Description

required

channel

channel id

yes

message

welcome message

yes

Example

const dl = require("discord.lib");

dl.leaveMessage("633412217844269045", "Welcome!")
dl.login("token", "I am the best bot!")
PreviousComplete ExamplesNextserverGreeting

Last updated 5 years ago

Was this helpful?