Skip to content

Commit fe4dbe1

Browse files
committed
Replace module names
1 parent b872cfe commit fe4dbe1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Please be aware of the following things when filing bug reports.
2626
- Guidance on **how to reproduce the issue**. Ideally, this should have a small code sample that allows us to run and see the issue for ourselves to debug. **Please make sure that the token is not displayed**. If you cannot provide a code snippet, then let us know what the steps were, how often it happens, etc.
2727
- Tell us **what you expected to happen**. That way we can meet that expectation.
2828
- Tell us **what actually happens**. What ends up happening in reality? It's not helpful to say "it fails" or "it doesn't work". Say *how* it failed, do you get an exception? Does it hang? How are the expectations different from reality?
29-
- Tell us **information about your environment**. What version of discord.py are you using? How was it installed? What operating system are you running on? These are valuable questions and information that we use.
29+
- Tell us **information about your environment**. What version of Pycord are you using? How was it installed? What operating system are you running on? These are valuable questions and information that we use.
3030

3131
If the bug report is missing this information then it'll take us longer to fix the issue. We will probably ask for clarification, and barring that if no response was given then the issue will be closed.
3232

discord/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def add_newcog_args(subparser: argparse._SubParsersAction) -> None:
286286
parser.add_argument('--full', help='add all special methods as well', action='store_true')
287287

288288
def parse_args() -> Tuple[argparse.ArgumentParser, argparse.Namespace]:
289-
parser = argparse.ArgumentParser(prog='discord', description='Tools for helping with discord.py')
289+
parser = argparse.ArgumentParser(prog='discord', description='Tools for helping with Pycord')
290290
parser.add_argument('-v', '--version', action='store_true', help='shows the library version')
291291
parser.set_defaults(func=core)
292292

discord/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ async def _run_event(self, coro: Callable[..., Coroutine[Any, Any, Any]], event_
361361
def _schedule_event(self, coro: Callable[..., Coroutine[Any, Any, Any]], event_name: str, *args: Any, **kwargs: Any) -> asyncio.Task:
362362
wrapped = self._run_event(coro, event_name, *args, **kwargs)
363363
# Schedules the task
364-
return asyncio.create_task(wrapped, name=f'discord.py: {event_name}')
364+
return asyncio.create_task(wrapped, name=f'pycord: {event_name}')
365365

366366
def dispatch(self, event: str, *args: Any, **kwargs: Any) -> None:
367367
_log.debug('Dispatching event %s', event)

discord/gateway.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@ async def identify(self):
376376
'token': self.token,
377377
'properties': {
378378
'$os': sys.platform,
379-
'$browser': 'discord.py',
380-
'$device': 'discord.py',
379+
'$browser': 'pycord',
380+
'$device': 'pycord',
381381
'$referrer': '',
382382
'$referring_domain': ''
383383
},

0 commit comments

Comments
 (0)