Skip to content

!ping #7

Description

@Jacob-Hunt

Is your feature request related to a problem? Please describe.

The feature request is not related to a problem per-se; just an incomplete code segment. There was a piece of code which was partially written during an Online Code Night and, as it is incomplete, it has not been included in the most recent merge to master. It reads as follows:

.# The following segment of code was written by @TheToiletTyrant (316thebrains)

.#############################################################
.# This code has been QUARENTINED due to it's infinite loops #
.#############################################################
.# @client.command(name='ping') #
.# async def pingCmd(ctx): #
.# s=socket.socket(socket.AF_INET, socket.SOCK_STREAM) #
.# server_ip = ("discordapp.com") #
.# rep = os.system("ping " + server_ip) #
.# #
.# ctx.send(rep) #
.#############################################################
.# ping command (needs to be worked on) #
.#############################################################

Describe the solution you'd like
I am not personally attached to one solution over any other.

Describe alternatives you've considered
The code segment could potentially be completed and used at some point in the future. It may also be possible to use the bash "ping" command (https://ss64.com/bash/ping.html) via "!bash" without the need to implement our own version of the command.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnew commandAn idea for something the bot can't currently do

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions