Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some mechanism to report bannable name change to an admin chat #3

Open
dracco1993 opened this issue Aug 5, 2018 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@dracco1993
Copy link
Member

No description provided.

@dracco1993 dracco1993 added the enhancement New feature or request label Aug 5, 2018
@dracco1993 dracco1993 self-assigned this Aug 5, 2018
@kryllyxofficial01
Copy link

kryllyxofficial01 commented Aug 1, 2022

I don't know how the discord.js API works, but I do know of a method in discord.py that would do this. There is the ability to send messages to a specific channel by doing the following:

import discord

client = discord.Client()

channel = client.get_channel(<channel_id>)
channel.send(<message>)

Copy the admin channel id and replace <channel_id>. Then create your message and replace <message> with it.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants