Code Monkey home page Code Monkey logo

dishook's Introduction

DisHook

디스코드의 웹훅 기능을 사용자가 쉽게 커스텀 할 수 있게 만든 프로그램입니다.


※만일 이 코드를 악용할 경우, 책임은 사용자에게 있습니다
바로 소스코드 보기

사용법

동영상

유튜브 설명 영상
(퀄리티 주의 매우 대충 만듬)

설치

릴리즈 설치 파일 바로가기

빠른 설치
v1.6
v1.5
v1.4
v1.3
v1.2
v1.1
v1.0

활용법

  1. 설치를 하여 프로그램을 실행한다.
  2. 웹훅 링크를 복사하여 Log In 버튼을 클릭하거나 엔터를 누른다.
  3. Name 에는 원하는 웹훅의 이름(아무것도 안쓰면 원래 웹훅 이름), Profile Image Link 에는 원하는 웹훅의 이미지 링크(아무것도 안쓰면 원래 웹훅 이름), Content에는 메세지의 내용을 쓰시고 Repeat 은 그 메세지를 반복하여 보냅니다.(예) 4메세지를 4번 반복하여 보냄)

꿀팁

Log Out 버튼으로 다른 웹훅을 사용할수도 있습니다.
Setting 창에 들어가 설정을 할수도 있습니다.
에브리원 멘션은 @everyone, 사용자 멘션은 <@사용자 아이디> 입니다
이모지는 자신 계정에 채팅을 \이모지 입력하시고 나온 값을 Content 창에 쓰시면 됩니다

dishook's People

Contributors

sihyeokpark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dishook's Issues

Null Send ERROR

content(내용 텍스트박스)의 Text 가 null 일때 Send 를 보내면 예외처리가 뜨네요.
if (content.Text == string.Empty) 로 거르는 방법과 return, goto 등 여러 방법을 써도 자꾸 예외처리가 되네요..

현재 코드

private void Send_Click(object sender, EventArgs e)
        {
            if (content.Text == string.Empty)
            {
                Console.WriteLine("Good");
            }
            else
            {
                using (DcWebHook dcWeb = new DcWebHook())
                {
                    dcWeb.ProfilePicture = image.Text;
                    dcWeb.UserName = name.Text;
                    dcWeb.WebHook = Data.discordLink;
                    if (repeat.Text == "")
                    {
                        MessageBox.Show("숫자를 입력하세요");
                        return;
                    }
                    else if (Convert.ToInt32(repeat.Text) < 6)
                    {
                        for (int i = 0; i < Convert.ToInt32(repeat.Text); i++)
                        {
                            dcWeb.SendMessage(content.Text);
                        }
                    }
                    //서른개 넘어가면 1초도 에러
                    else if (Convert.ToInt32(repeat.Text) <= 0)
                    {
                        MessageBox.Show("0 이하의 수는 입력하실 수 없습니다.");
                    }
                    else
                    {
                        for (int i = 0; i < Convert.ToInt32(repeat.Text); i++)
                        {
                            dcWeb.SendMessage(content.Text);
                            Thread.Sleep(1 * 1000);
                        }
                    }
                }
            }
        }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.